0

I've created a word file in my local folder in my hadoop folder:

gedit /usr/local/hadoop/words.txt

I then tried to use this put command:

$ /usr/local/hadoop/bin/hadoop fs -put words.txt input

But I've got this error:

put: Call From dachen-VirtualBox/127.0.1.1 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

How should I fix this, I started all my daemons, is my local host wrong?

2
  • I think I started all my daemons, Confirm whether Namenode is running! Apr 12, 2017 at 5:45
  • @franklinsijo sorry i start all my daemons Apr 13, 2017 at 2:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.