Caused by: Exception(message:Hive Schema version 2.1.0 does not match store’s schema version 1.2.0 store is not upgraded or corrupt)_2

解决方案:

1.登陆mysql,修改hive  store版本:进行mysql:mysql -uroot -p (123456)use hive;select * from version;update VERSION set SCHEMA_VERSION='2.1.1' where  VER_ID=1;

2.简单粗暴:在hvie-site. 中关闭版本验证

<property>    <name>hive. store.schema.verification</name>    <value>false</value></property>
收藏 打印