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

    报错背景:

    CDH安装完成hive后启动失败。

    报错现象:

    [main]: Metastore Thrift Server threw an exception...
    MetaException(message:Version information not found in metastore. )
        at org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:7282)
        at org.apache.hadoop.hive.metastore.ObjectStore.verifySchema(ObjectStore.java:7258)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:103)
        at com.sun.proxy.$Proxy7.verifySchema(Unknown Source)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:662)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:710)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:509)
        at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:78)
        at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:84)
        at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:6487)
        at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:6482)
        at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:6732)
        at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:6659)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:226)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:141)

    报错原因:

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

    版本问题(具体原因没去深究)

    报错解决:

    修改 conf/hive-site.xml 中的 “hive.metastore.schema.verification”

    改为 false

  • 相关阅读:
    InnoDB的数据页结构
    InnoDB的行溢出数据,Char的行结构存储
    InnoDB的行记录格式, Compact, Redundant, Compressed, Dynamic
    python py_innodb_page_info.py -v /usr/local/var/mysql/ibdata1
    InnoDB的表类型,逻辑存储结构,物理存储结构
    InnoDB存储引擎的表空间文件,重做日志文件
    MYSQL数据库的套接字文件,pid文件,表结构文件
    MYSQL数据库的日志文件
    MYSQL数据库的参数文件
    InnoDB的启动,关闭,恢复
  • 原文地址:https://www.cnblogs.com/chuijingjing/p/10832100.html
Copyright © 2011-2022 走看看