当前位置: 代码迷 >> 综合 >> hive错误 show tables 无法使用 : Unable to instantiate rg.apache.hadoop.hive.metastore.HiveMetaStoreClient
  详细解决方案

hive错误 show tables 无法使用 : Unable to instantiate rg.apache.hadoop.hive.metastore.HiveMetaStoreClient

热度:81   发布时间:2024-01-19 01:04:29.0
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  
杀死进程 
  相关解决方案