报错记录
1.1、问题背景:启动hive后执行命令报错如下:
Call From node100/192.168.5.100 to node100:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
1.2、对我来说执行以下步骤有效:
1、stop-all.sh
2、格式化namenode:hadoop namenode -format
3、start-all.sh
https://stackoverflow.com/questions/28661285/hadoop-cluster-setup-java-net-connectexception-connection-refused
2.1、问题背景:启动hive后执行show databases报错如下:
FAILED: HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
2.2、问题分析:初始化失败,由于部署的hadoop环境在虚拟机中,中途挂起过,猜到可能是部分环境没起来,重启后即可。(我是hadoop新手,如果是其它因素出现此问题后续再追加)
2.3、
检查hadoop启动进程:start-all.sh
查看java正在运行进程:jps