【异常】Version information found in metastore differs 1.1.0 from expected schema version 1.2.0. Schema


运行Spark作业出现异常:

ERROR ObjectStore: Version information found in metastore differs 1.1.0 from expected schema version 1.2.0. Schema verififcation is disabled hive.metastore.schema.verification so setting version.

解决方案:需要在hive-site.xml中配置(配置在Hive中的在hive-site.xml配置文件,并且配置在Spark/conf下的在hive-site.xml配置文件):

<property>
    <name>hive.metastore.schema.verification</name>
    <value>false</value>
</property>


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM