admin管理员组

文章数量:1638806

ERROR metastore.ObjectStore: Version information found in metastore differs 3.1.2 from expected schema version 1.2.0. Schema verififcation is disabled hive.metastore.schema.verification so setting version.

解决方案两种
第一种:
登陆mysql,修改hive metastore版本:

进行mysql:mysql -u root -p 123456
use hive; 
select * from version;
update VERSION set SCHEMA_VERSION='3.1.1' where  VER_ID=1;

第二种
简单粗暴:在hive-site.xml中关闭版本验证

<property>
	<name>hive.metastore.schema.verification</name>
	<value>false</value>
</property>

 

本文标签: ObjectStoreVersionErrormetastoreinformation