java.io.IOException: java.net.ConnectException: Call From master/192.168.58.128 to master:10020 failed on connection exception: java.net.ConnectException: 拒绝连接;
运行hive的sql查询统计调用mapreduce时报错
原因是JobHistoryServer未启动
解决办法:
cd /usr/local/hadoop/sbin
mr-jobhistory-daemon.sh start historyserver
若出现:
WARNING: Use of this script to start the MR JobHistory daemon is deprecated.
WARNING: Attempting to execute replacement "mapred --daemon start" instead.
通过jps命令:
成功启动!!