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

For me these steps worked

  1. stop-all.sh
  2. hadoop namenode -format
  3. start-all.sh

Leave a Comment