zoukankan      html  css  js  c++  java
  • hive :MetaException(message:Version information not found in metastore. )

    MetaException(message:Version information not found in metastore. )

    Hive now records the schema version in the metastore database and verifies that the metastore schema version is compatible with Hive binaries that are going to accesss the metastore. Note that the Hive properties to implicitly create or alter the existing schema are disabled by default. Hive will not attempt to change the metastore schema implicitly. When you execute a Hive query against an old schema, it will fail to access the metastore:

    $ build/dist/bin/hive -e "show tables"
    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
    

    The log will contain an error about version information not found:

    ...
    Caused by: MetaException(message:Version information not found in metastore. )
    ...
    

    By deafult the configuration property hive.metastore.schema.verification is false and metastore to implicitly write the schema version if its not matching. To enable the strict schema verification, you need to set this property to true in hive-site.xml.

  • 相关阅读:
    RN常用布局和CSS
    RN常用组件
    海屯天地技术服务支持
    微前端应用解决方案
    React组件复用方式
    Webpack-CodeSplit(按需加载)
    Webpack-CodeSplit(静态文件篇)
    Webpack抽离第三方类库以及common解决方案
    Javascript十六种常用设计模式
    React hooks详解
  • 原文地址:https://www.cnblogs.com/tangtianfly/p/3402144.html
Copyright © 2011-2022 走看看