Call From hadoop102/192.168.121.102 to hadoop102:9000 failed on connection exception

问题截图

在这里插入图片描述

问题描述

在测试Spark中examples案例时,出现Call From hadoop102/192.168.121.102 to hadoop102:9000 failed on connection exception: java.net.ConnectException: 拒绝连接的错误。

问题原因

hadoop集群没有开启

解决办法

打开hadoop集群

[root@hadoop102 hadoop-2.7.2]# sbin/start-all.sh

在这里插入图片描述

结果截图

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_44480968/article/details/119574789