FAQ-Caused by: MetaException(message:Hive Schema v
更新时间: 2024-03-11 02:51:39
阅读 723
FAQ-Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt)
问题描述/异常栈
Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt)
解决方案
解决方案为添加配置到hive-site.xml文件中:
< property>
  
<name>hive.metastore.schema.verification.record.version</name>
  
<value>false< /false>
< property>
问题原因
当使用hive-1.2客户端连接hive-2.1时,可能会修改hive的meta数据库version表,导致抛出该异常
作者:焦巍
文档反馈
以上内容对您是否有帮助?