hive1.1 啟動異常 :Caused by: MetaException(message:Version information not found in metastore. )
配置完成Mysql儲存元資料資訊,啟動異常:Caused by: MetaException(message:Version information not found in metastore.
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.ql.session .SessionState.start(SessionState.java:539)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:687)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:626)
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:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.RuntimeException : Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1492)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:67)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:82)
at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:2935)
at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:2954)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:512)
... 8 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1490)
... 13 more
Caused by: MetaException(message:Version information not found in metastore. )
at org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:7046)
at org.apache.hadoop.hive.metastore.ObjectStore.verifySchema(ObjectStore.java:7027)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
hive.metastore.schema.verification設定成false就可以了,測試了一下就解決了。
hive (default)> show tables;
OK
tab_name
Time taken: 0.378 seconds
相關推薦
hive1.1 啟動異常 :Caused by: MetaException(message:Version information not found in metastore. )
配置完成Mysql儲存元資料資訊,啟動異常:Caused by: MetaException(message:Version information not found in metastore. Exception in thread "main" java
啟動hive2.1.1遇到的異常,Caused by: MetaException(message:Version information not found in metastore. )
hive2.1.1安裝好之後,修改conf下面的東西,cp hive-log4j2.properties.template hive-log4j2.properties拷貝一份重新命名 然後使用schematool初始化hive,執行schematool -dbType d
MySQL異常:Caused by: com.mysql.jdbc.exceptions.MySQLTimeoutException: Statement cancelled due to timeout or client request
model out exec actions tracing ror pda tin dsta Caused by: com.mysql.jdbc.exceptions.MySQLTimeoutException: Statement cancelled due to ti
異常:Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
說明專案沒有載入jar包 異常:Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext 解決方案:對著工程點右鍵-
es異常:Caused by: org.elasticsearch.common.io.stream.NotSerializableExceptionWrapper: too_many_clauses
在網上看到的是在yml檔案新增 index.query.bool.max_clause_count: 10240 我新增後重啟,使用./elasticsearch啟動報錯 我的es是5.2.2版本,遂用他的這個,成功啟動了 indices.query.bool.m
sql執行拋異常:Caused by: net.sf.jsqlparser.parser.ParseException
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "(" "( "" at line 3, column 11.Was expecting one of: <EOF>
Zookeeper啟動異常:Error contacting service. It is probably not running.
建立了三個zookeeper的虛擬機器,啟動沒有問題,但是執行./zkServer.sh status 檢視狀態的時候就會出現: [[email protected] bin]# ./zkServer.sh status JMX enabled by default Using
linux系統下zookeeper的啟動異常:Error contacting service. It is probably not running.
原來異常資訊: 網上對於這個異常的解答眾說紛紜,現在總結一下我的解決方案: 因為我用的zookeeper的版本是zookeeper-3.4.6,然後我原來的jdk用的是jdk-8u191-linux-x64.tar.gz,我解除安裝之後重新安裝了一個jdk,這次的版本是jdk-7u79-
報錯:exec:"gcc" executable file not found in %PATH%
問題 在編譯以太坊原始碼時出現以下錯誤資訊: exec: "gcc": executable file not found
【spring cloud】spring cloud 使用feign呼叫,1.fallback熔斷器不起作用,2.啟動報錯Caused by: java.lang.ClassNotFoundException: com.netflix.hystrix.contrib.javanica.aop.asp
1.首先使用feign呼叫,需要配置熔斷器 2.配置熔斷器需要將熔斷器注入Bean,被spring可以掃描到 3.熔斷器類需要實現feignClient介面 4.hystrix的jar需要被maven引用,並且在classpath下 5.注意,feignClient上儘量不要使用@RequestMap
坑之關於dubbo服務產生異常之:Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side respons
簡單來說就是dubbo超時,因為dubbo預設的時間是500ms,超過這個時間它會重新訪問service層,最多嘗試三次。 所以我在測試的時候日誌顯示出來的異常為……timeout……。 剛開始的時候沒有設定,小資料量可以,如果資料量比較大就不行了。 後來在服務提供
python locust介面效能測試HTTPS網站報錯:Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certi
問題描述: 測試HTTPS SSL 協議的網站介面,用Python Locust模組,不論POST還是GET都提示錯誤: SSLError Max retries exceeded with url: /action.php?m=upload (Caused by SSL
AOP異常一:Caused by: java.lang.IllegalArgumentException: error at ::0 formal unbound in pointcut
切入點引數定義錯誤:發現是因為在 配置檔案 中對進行要攔截的方法引數的注入。 也就是說,如果你要攔截的方法中有引數,那麼在配置檔案的aspect的expression中也需要有 and args(methodName)。 舉我編寫的例子: package com.zrk
解決sqoop導入報錯:Caused by: java.sql.SQLException: Protocol violation
detail ext lang dcb dsta run org with int 報錯信息: 2017-06-15 15:02:15,374 INFO [main] org.apache.hadoop.mapred.MapTask: Ignoring excepti
spring-boot 啟動時候 出現異常:The bean 'xxx' could not be injected as a 'xx.xxxx' because it is a JDK dynamic proxy that implements:
ng- for sed AC 存在 cti 解決方法 sid 失敗 The bean ‘xxxService‘ could not be injected as a ‘AaaXxxService‘ because it is a JDK dynamic proxy tha
SSH執行hql報錯:Caused by: org.hibernate.hql.ast.QuerySyntaxException: user is not mapped [from user where username = ?]
執行 occurred ble xml文件 ron red 報錯 temp caused 報錯信息: ERROR Dispatcher:38 - Exception occurred during processing request: user is not mapped
hive報錯:Caused by: ERROR XBM0H: Directory /var/lib/hive/metastore/metastore_db cannot be created.
cti nested method tro detail not util tails == 在cdh集群中,刪除之前的hive服務,然後將hive添加到其他節點,然後再通過hive客戶端連接hive報錯: Caused by: ERROR XJ041: Failed t
weblgoic異常之 Caused by: java.lang.OutOfMemoryError: PermGen space
1.異常描述 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodA
mycat啟動報錯 Caused by: org.opencloudb.config.util.ConfigException: dataNode node_db01 reference dataHo
環境:mycat 1.5 作業系統:Redhat 6.5 64位 JDK:1.8.0_181 mysql:5.6.35 現象描述:當啟動mycat時,提示: Caused by: org.opencloudb.config.util.ConfigException: dataNode
SpringBoot 整合thymeleaf報錯:Caused by: java.lang.ClassNotFoundException: org.thymeleaf.resourceresolver
最近在學springboot,聽說很火很方便,但學習時問題好多啊,今天一早又報錯!!!還是啟動報錯!!! java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoc