Hive 显示数据库命令在配置单元中不工作?
我连接了配置单元,当我尝试使用下面的命令显示所有数据库时,出现以下错误:Hive 显示数据库命令在配置单元中不工作?,hive,Hive,我连接了配置单元,当我尝试使用下面的命令显示所有数据库时,出现以下错误: techgene@slaveone:~/apps/hive-0.12.0$ hive Logging initialized using configuration in jar:file:/home/techgene/apps/hive-0.12.0/lib/hive-common-0.12.0.jar!/hive-log4j.properties hive> show databases; FAILED:
techgene@slaveone:~/apps/hive-0.12.0$ hive
Logging initialized using configuration in jar:file:/home/techgene/apps/hive-0.12.0/lib/hive-common-0.12.0.jar!/hive-log4j.properties
hive> show databases;
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
能否为此提供解决方案?当配置单元CLI会话未正确结束时,通常会出现此问题。在这种情况下,按如下方式终止未正确关闭的配置单元CLI会话。此次发布后,hive CLI将保持新鲜
ramisetty@aspire:~$ jps
3710 SecondaryNameNode
4103 RunJar -------------------------> hive CLI instance.
4019 TaskTracker
3467 DataNode
3242 NameNode
4366 Jps
3788 JobTracker
ramisetty@aspire:~$ kill -9 4103
ramisetty@aspire:~$
问题仍然存在意味着遵循可用的解决方案@