分类: HADOOP
2014-09-10 23:08:00
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
试了很多办法,最后解决了:
重新启动hive
./hive -hiveconf hive.root.logger=DEBUG,console
修改配置文件
第一次运行前先将 hive.metastore.schema.verification 设为false
hive>show table :
出错的最下面有
org.apache.hadoop.hive.metastore.ObjectStore.checkSchema
解决办法:
1
......
2
3
4
5
......
hive> show tables;
OK
inner_table
Time taken: 12.748 seconds, Fetched: 1 row(s)
问题解决..