首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何阻止星星之火设置新蜂巢版本

如何阻止星星之火设置新蜂巢版本
EN

Stack Overflow用户
提问于 2017-06-10 06:23:51
回答 1查看 1.1K关注 0票数 2

我的蜂巢Metastore verison是2.1.0。但是当我启动我的Spark时,它会将版本更新为1.2.0。

代码语言:javascript
运行
复制
17/06/11 12:04:03 WARN DataNucleus.General: Plugin (Bundle) "org.datanucleus" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/root/spark-2.1.1-bin-hadoop2.7/jars/datanucleus-core-3.2.10.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/root/spark/jars/datanucleus-core-3.2.10.jar."
17/06/11 12:04:07 ERROR metastore.ObjectStore: Version information found in metastore differs 2.1.0 from expected schema version 1.2.0. Schema verififcation is disabled hive.metastore.schema.verification so setting version.
17/06/11 12:04:09 WARN metastore.ObjectStore: Failed to get database global_temp, returning NoSuchObjectException

这导致我的蜂箱停止工作。我尝试在spark-defaults.conf....then中设置spark-defaults.conf....then 2.1.0,我的火花外壳不起作用。请帮我处理这个

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-01-09 07:07:07

您应该能够通过更新hive-site.xml来禁用版本验证。

代码语言:javascript
运行
复制
 <name>hive.metastore.schema.verification</name>
    <!-- <value>true</value> -->
    <value>false</value>
    <description>
      Enforce metastore schema version consistency.
      True: Verify that version information stored in is compatible with one from Hive jars.  Also disable automatic
            schema migration attempt. Users are required to manually migrate schema after Hive upgrade which ensures
            proper metastore schema migration. (Default)
      False: Warn if the version information stored in metastore doesn't match with one from in Hive jars.
    </description>
  </property>
  <property>
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44470270

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档