Hadoop cluster setup - java.net.ConnectException: Connection refused

后端 未结 15 805
心在旅途
心在旅途 2020-11-29 02:31

I want to setup a hadoop-cluster in pseudo-distributed mode. I managed to perform all the setup-steps, including startuping a Namenode, Datanode, Jobtracker and a Tasktracke

15条回答
  •  难免孤独
    2020-11-29 03:21

    In /etc/hosts:

    1. Add this line:

    your-ip-address your-host-name

    example: 192.168.1.8 master

    In /etc/hosts:

    1. Delete the line with 127.0.1.1 (This will cause loopback)

    2. In your core-site, change localhost to your-ip or your-hostname

    Now, restart the cluster.

提交回复
热议问题