Cannot initialize cluster exception while running job on Hadoop 2 Cannot initialize cluster exception while running job on Hadoop 2 hadoop hadoop

Cannot initialize cluster exception while running job on Hadoop 2


I was having similar issue, but yarn was not the issue.After adding following jars into my classpath issue got resolved:

  • hadoop-mapreduce-client-jobclient-2.2.0.2.0.6.0-76
  • hadoop-mapreduce-client-common-2.2.0.2.0.6.0-76
  • hadoop-mapreduce-client-shuffle-2.2.0.2.0.6.0-76


You have uppercased Yarn, which is probably why it can not resolve it. Try the lowercase version that is suggested in the official documentation.

<configuration>  <property>      <name>mapreduce.framework.name</name>      <value>yarn</value>  </property></configuration>


Looks like i had a lucky day and went with this exception through 'all' of those causes. Summary: