Looks configurations(mainly yarn-site.xml here which you pointed) are not loaded in classpath. Can you check the output of “hadoop classpath”..?
Regards Brahma Reddy Battula From: Dhanushka Parakrama [mailto:parakrama1...@gmail.com] Sent: 19 May 2017 16:40 To: user@hadoop.apache.org Subject: Yarn not picking up the Resource manager configurations Hi All I have setup the multi node hadoop cluster . but when is run the simple map reduce job it gives me the following error the in the data nodes container log . Im running the hadoop 2.7.3 version In namenode which contain resource manager as well . i ran below job hadoop jar hadoop-mapreduce-examples-2.7.3.jar wordcount /words /output Error ==== tryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 2017-05-19 07:57:14,340 INFO [main] org.apache.hadoop.ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8030<http://0.0.0.0/0.0.0.0:8030>. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 2017-05-19 07:57:15,341 INFO [main] org.apache.hadoop.ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8030<http://0.0.0.0/0.0.0.0:8030>. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) Configurations =========== vi .barshrc file export JAVA_HOME=/home/ubuntu/jdk1.8.0_45 export HADOOP_HOME=/usr/local/hadoop/current #export PATH=$JAVA_HOME/bin:$PATH export HADOOP_MAPRED_HOME=$HADOOP_HOME export HADOOP_COMMON_HOME=$HADOOP_HOME export HADOOP_HDFS_HOME=$HADOOP_HOME export YARN_HOME=$HADOOP_HOME export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop export YARN_CONF_DIR=$HADOOP_HOME/etc/hadoop export ZOOKEEPER_HOME=/usr/local/zookeeper/current export PATH=$PATH:$JAVA_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$ZOOKEEPER_HOME/bin vi .yarn-site.xml file <configuration> <!-- Site specific YARN configuration properties --> <property> <name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> </property> <property> <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name> <value>org.apache.hadoop.mapred.ShuffleHandler</value> </property> <property> <name>yarn.resourcemanager.hostname</name> <value>nn1.cluster.com<http://nn1.cluster.com></value> </property> <property> <name>yarn.resourcemanager.scheduler.address</name> <value>nn1.cluster.com:8030<http://nn1.cluster.com:8030></value> </property> </configuration> Can any expert help me with this issue , im stuck at this point Thank You