Hadoop - java.net.ConnectException: Connection refused

后端 未结 5 927
无人及你
无人及你 2021-02-15 23:54

I want connect to hdfs (in localhost) and i have a error:

Call From despubuntu-ThinkPad-E420/127.0.1.1 to localhost:54310 failed on connection exception: java.net.Connec

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-16 00:16

    Make sure that DFS which is set to port 9000 in core-site.xml is actually started. You can check with jps command. You can start it with sbin/start-dfs.sh

提交回复
热议问题