欢迎关注 ITwords 公众号,大家可以一起学习,共同进步。
Hive Schema version 2.3.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt
今天在hive中查询库的时候突然出现这个问题,但是hive启动正常,后来担心是不是hive的metastore没有开启,专门去开了一下,结果找到了问题所在。
bin/hive --service metastore
是因为schema的版本不匹配的问题。所以需要在hive-site.xml中进行配置即可。忽略掉版本的差异问题。
<property>
<name>hive.metastore.schema.verification</name>
<value>false</value>
</property>
ok,问题解决。