Hive appears to refuse connection ConnectionRefused Solution

Caused by: java.net.ConnectException: Call From nn1.hadoop/192.168.10.6 to nn2. hadoop:9000 failed On connection exception: java.net.connectexception: refuse connection; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

If you fail to connect to hive, you can refer to the official document if you report an error https://cwiki.apache.org/confluence/display/HADOOP2/ConnectionRefused

First check whether Hadoop is running normally, open the HDFS web page of Hadoop to browse whether the two nodes are running normally. A node may hang up or something, just start the node

Check whether the namenode is running normally, check whether the namenode is stable, and restart the zkfc service

Maybe MySQL hung up, just get up

Similar Posts: