首页 > 其他分享 >hive Metastore 启动报错 Version information not found in metastore报错处理

hive Metastore 启动报错 Version information not found in metastore报错处理

时间:2023-12-15 16:13:10浏览次数:40  
标签:information java metastore cdh6.3 hadoop hive Version 报错 2.1

修改 conf/hive-site.xml中的 hive.metastore.schema.verification  设置为false。

 

hive Metastore 启动报错 

[main]: Metastore Thrift Server threw an exception...
org.apache.hadoop.hive.metastore.api.MetaException: Version information not found in metastore. 
    at org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:8066) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.ObjectStore.verifySchema(ObjectStore.java:8043) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
    at org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:101) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at com.sun.proxy.$Proxy23.verifySchema(Unknown Source) ~[?:?]
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMSForConf(HiveMetaStore.java:655) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:648) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:717) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:420) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:78) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:84) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:7030) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:7025) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:7283) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:7210) [hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
    at org.apache.hadoop.util.RunJar.run(RunJar.java:313) [hadoop-common-3.0.0-cdh6.3.2.jar:?]
    at org.apache.hadoop.util.RunJar.main(RunJar.java:227) [hadoop-common-3.0.0-cdh6.3.2.jar:?]

 

标签:information,java,metastore,cdh6.3,hadoop,hive,Version,报错,2.1
From: https://www.cnblogs.com/shanxia0812/p/17903572.html

相关文章

  • 安装mongo提示报错libcrypto.so.1.1解决方法
    1、输入网址:www.openssl.org第一种下载:点击Downloads→点击要下载的openssl然后解压:tar-zxvfopenssl.x.x.xx.tar.gz第二种下载:wgethttps://www.openssl.org/source/openssl-1.1.1w.tar.gz解压:tar-zxvfopenssl-1.1.1w.tar.gz切换到解压好的目录:cdopenssl-1.1.1w编译安装:./conf......
  • Seata 启动报错:[imeoutChecker_1] i.s.c.r.netty.NettyClientChannelManager : no av
    Seata启动报错:[imeoutChecker_1]i.s.c.r.netty.NettyClientChannelManager:noavailableservertoconnect.1.问题2.解决【application.xml和file.conf参数要相对应】......
  • nest报错表名已经存在
    问题如果使用nest出现了报错QueryFailedError:ER_TABLE_EXISTS_ERROR:Table‘你的表名’alreadyexists具体原因不详。解决经过多方资料查阅,解决方法如下实体的表名一定要全部小写或者使用_连接,不能用驼峰命名法检查数据库名和app.module.ts配置的表名是否用了驼......
  • 启动Docker服务报错
    启动Docker服务报错如下Jobfordocker.servicefailedbecausethecontrolprocessexitedwitherrorcode.See"systemctlstatusdocker.service"and"journalctl-xe"fordetails.使用命令journalctl-xe查看解决方法一、关闭防火墙或者selinux1、关闭防火墙system......
  • MacOS-“System Information”这个App用做USB设备的检测与设备文件的确定
    “SystemInformation”这个Apple自带的GUI小App是检测USB硬件的;如图所示;而Linux上是lsusb与lspci这类commandline的command;找到USB硬件的设备信息,需要与设备文件映射,怎么找?`bash-3.2#ls/dev/tty*|sort>sys.txt#连接USB硬件前bash-3.2#ls/dev/tt......
  • Centos 报错:The SSL connection could not be established, see inner exception 解决
    yumupdateyuminstallwgettarmakegccperlpcre-develzlib-develwgethttps://www.openssl.org/source/openssl-1.1.1l.tar.gztarzxvfopenssl-1.1.1l.tar.gzcdopenssl-1.1.1l./config--prefix=/usr--openssldir=/etc/ssl--libdir=libno-sharedzlib-dynamic......
  • 连接MySQL报错{"Authentication to host 'PC10103' for user 'root' using method &#
    连接MySQL报错{"Authenticationtohost'PC10103'foruser'root'usingmethod'sha256_password'failedwithmessage:Accessdeniedforuser'root'@'PC10103'(usingpassword:YES)"}先在MySQL中执行如下查询SEL......
  • Django添加models.py的ForeignKey数据迁移后找不到,各种报错
    Django添加models.py的ForeignKey数据迁移后找不到,各种报错在创建DJango项目时候,已经实现文件列表功能,在添加用户绑定文件列表功能时候,添加user作为外键关联,添加后执行数据库迁移,一直报错找不到userid报错信息django.db.utils.OperationalError:nosuchcolumn:student_chec......
  • navicat链接oracle时报错,检查是否是oci.dll库不匹配的问题
     1:安装Oracle数据库,安装时类型选择共享服务器,不要选专享服务器。2:确定Oracle,Navicat,OracleClient的位数,确保你的oracle数据库的位数与navicat位数一致,即:32v32,64v643:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html,在这个页面下载和......
  • import引入pdfjs-dist报错Top-level await is not available、No "GlobalWorkerOption
    项目环境//1.npmlsvite├─┬@vitejs/plugin-vue-jsx@3.1.0│└──vite@5.0.3deduped├─┬@vitejs/plugin-vue@4.5.0│└──vite@5.0.3deduped├─┬vite-plugin-pwa@0.17.2│└──vite@5.0.3deduped├─┬vite-plugin-top-level-await@1.4.0│└......