java.net.ConnectException: to 0.0.0.0:10020 failed on connection exception

在DataNode节点中的Hive CLI中执行 select count(*) from table_name 查询时报错:

java.io.IOException: java.net.ConnectException: Call From Slave7.Hadoop/192.168.8.207 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: Connection refused; 

解决办法详见:http://www.micmiu.com/bigdata/hive/hive-connect-exception-to-10020/

 

你可能感兴趣的:(hive,micmiu)