热线电话:13121318867

登录
2020-06-24 阅读量: 1455
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数据库
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元数据库,即可成功


image.png

30.2670
2
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子