2020-06-24
閱讀量:
1515
MetaException:Hive Schema version 2.3.0 does not match metastore's schema version 1.2.0 Metastore
造成如下圖所示錯誤的原因是:hive schema和metastore schema 版本不一致造成的
解決方法:
1. 使用root身份訪問mysql
mysql -u root -p password
2. 使用hive數(shù)據(jù)庫
use hive
3. 查看version表中Schema的版本
select * from version;
4. 更新version表中schema版本
update VERSION set SCHEMA_VERSION='2.3.0' where VER_ID=1;
5. 重啟hive元數(shù)據(jù)庫,即可成功






評論(0)


暫無數(shù)據(jù)
推薦帖子
0條評論
1條評論
0條評論