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