日期:2014-05-16  浏览次数:20894 次

hive异常 show tables 无法使用 : Unable to instantiate rg.apache.hadoop.hive.metastore.HiveMetaStoreClient
异常:
hive> show tables;
FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate rg.apache.hadoop.hive.metastore.HiveMetaStoreClient 
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

原因:在其他shell 开了hive 没有关闭
使用 ps -ef | grep hive
kill -9  
杀死进程