【異常】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