Reply
New Contributor
Posts: 3
Registered: ‎10-11-2017
Accepted Solution

Connection Refused

[ Edited ]

I am getting error for below command

 

$ hadoop jar /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar wordcount /tmp/shakespeare.txt counts

 

Error
17/10/11 09:27:45 INFO client.RMProxy: Connecting to ResourceManager at horse/10.0.0.43:8032
17/10/11 09:27:45 WARN security.UserGroupInformation: PriviledgedActionException as:training (auth:SIMPLE) cause:java.net.ConnectException: Call From elephant.example.com/10.0.0.41 to elephant:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
java.net.ConnectException: Call From elephant.example.com/10.0.0.41 to elephant:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused 

Explorer
Posts: 14
Registered: ‎06-06-2017

Re: Connection Refused

what elephant stand for? hostname? DNS?
You need make the server which you run such command can tell this DNS(elephant)
Announcements