Hadoop - java.net.ConnectException: Connection refused

后端 未结 5 947
无人及你
无人及你 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:18

    First check is if java processes are working or not by typing jps command on command line. On running jps command following processes are mandatory to run-->>

    • DataNode
    • jps
    • NameNode
    • SecondaryNameNode

    If following processes are not running then first start the name node by using following command-->> start-dfs.sh

    This worked out for me and removed the error you stated.

提交回复
热议问题