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

2290 단어 hive

일언반구


작업 중 문제 발생
[niy@niy-computer trunk]$ hive

Logging initialized using configuration in file:/home/niy/workspace1/hive/trunk/conf/hive-log4j.properties
Hive history file=/tmp/niy/hive_job_log_niy_201305231709_532227727.txt
hive> show tables;
FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

2 솔루션

[niy@niy-computer trunk]$ hive

Logging initialized using configuration in file:/home/niy/workspace1/hive/trunk/conf/hive-log4j.properties
Hive history file=/tmp/niy/hive_job_log_niy_201305231711_398978486.txt
hive> show tables;
FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
hive> show tables;
FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
hive> quit;
[niy@niy-computer trunk]$ hive --service hwi
13/05/23 17:13:33 INFO hwi.HWIServer: HWI is starting up
13/05/23 17:13:34 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
13/05/23 17:13:34 INFO mortbay.log: jetty-6.1.14
13/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/webapp
13/05/23 17:13:36 INFO mortbay.log: Started [email protected]:9999


^C[niy@niy-computer trunk]$ hive --service cli

Logging initialized using configuration in file:/home/niy/workspace1/hive/trunk/conf/hive-log4j.properties
Hive history file=/tmp/niy/hive_job_log_niy_201305231713_548210272.txt
hive> show tables;
OK
alter2
niytab
part_nowhitelist_test
part_whitelist_test
poke
poke1
poke3
raw
src_rc_concatenate_test
table3
test_table
test_table_like
tttwsd
Time taken: 6.637 seconds, Fetched: 13 row(s)
hive> [niy@niy-computer trunk]$ 

좋은 웹페이지 즐겨찾기