Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastor

来源:互联网 发布:c语言的排序算法 编辑:程序博客网 时间:2024/06/10 13:09

一 前言

操作中遇到问题

[niy@niy-computer trunk]$ hiveLogging initialized using configuration in file:/home/niy/workspace1/hive/trunk/conf/hive-log4j.propertiesHive history file=/tmp/niy/hive_job_log_niy_201305231709_532227727.txthive> show tables;FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClientFAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

二 解决方案


[niy@niy-computer trunk]$ hiveLogging initialized using configuration in file:/home/niy/workspace1/hive/trunk/conf/hive-log4j.propertiesHive history file=/tmp/niy/hive_job_log_niy_201305231711_398978486.txthive> show tables;FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClientFAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTaskhive> show tables;FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClientFAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTaskhive> quit;[niy@niy-computer trunk]$ hive --service hwi13/05/23 17:13:33 INFO hwi.HWIServer: HWI is starting up13/05/23 17:13:34 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog13/05/23 17:13:34 INFO mortbay.log: jetty-6.1.1413/05/23 17:13:35 INFO mortbay.log: Extract jar:file:/home/niy/workspace1/hive/trunk/lib/hive-hwi-0.12.0-SNAPSHOT.war!/ to /tmp/Jetty_0_0_0_0_9999_hive.hwi.0.12.0.SNAPSHOT.war__hwi__.bt0qvz/webapp13/05/23 17:13:36 INFO mortbay.log: Started SocketConnector@0.0.0.0:9999^C[niy@niy-computer trunk]$ hive --service cliLogging initialized using configuration in file:/home/niy/workspace1/hive/trunk/conf/hive-log4j.propertiesHive history file=/tmp/niy/hive_job_log_niy_201305231713_548210272.txthive> show tables;OKalter2niytabpart_nowhitelist_testpart_whitelist_testpokepoke1poke3rawsrc_rc_concatenate_testtable3test_tabletest_table_liketttwsdTime taken: 6.637 seconds, Fetched: 13 row(s)hive> [niy@niy-computer trunk]$ 

原创粉丝点击