title: Hadoop Resource Manager not starting
body: <p>I am new to Hadoop so I started setting up partially distributed Hadoop cluster on <code>localhost</code>. I created a wordcount program jar to run but when I run this jar the following error is shown for nine times:</p>
  
  <pre><code>NFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9040. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
  </code></pre>
  
  <p>Also when I type jps command my services started are: </p>
  
  <pre><code>9154 DataNode
  
  9777 NodeManager
  
  8967 NameNode
  
  9441 SecondaryNameNode
  
  10060 Jps
  </code></pre>
  
  <p><strong>core-site.xml</strong></p>
  
  <pre><code>&lt;configuration&gt;
  
    &lt;property&gt;
    &lt;name&gt;fs.default.name&lt;/name&gt;
    &lt;value&gt;hdfs://localhost:9000&lt;/value&gt;
    &lt;/property&gt;
  
    &lt;property&gt;
    &lt;name&gt;hadoop.tmp.dir&lt;/name&gt;
    &lt;value&gt;/usr/local/hadoop/tmp&lt;/value&gt;
    &lt;description&gt;A base for other temporary directories.&lt;/description&gt;
    &lt;/property&gt;
  
    &lt;property&gt;
       &lt;name&gt;fs.file.impl&lt;/name&gt;
       &lt;value&gt;org.apache.hadoop.fs.LocalFileSystem&lt;/value&gt;
       &lt;description&gt;The FileSystem for file: uris.&lt;/description&gt;
    &lt;/property&gt;
    -
    &lt;property&gt;
       &lt;name&gt;fs.hdfs.impl&lt;/name&gt;
       &lt;value&gt;org.apache.hadoop.hdfs.DistributedFileSystem&lt;/value&gt;
       &lt;description&gt;The FileSystem for hdfs: uris.&lt;/description&gt;
    &lt;/property&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p><strong>yarn-site.xml</strong></p>
  
  <pre><code>&lt;configuration&gt;
  
    &lt;!-- Site specific YARN configuration properties --&gt;
    &lt;property&gt;
      &lt;name&gt;yarn.nodemanager.aux-services&lt;/name&gt;
      &lt;value&gt;mapreduce_shuffle&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;yarn.nodemanager.aux-services.mapreduce.shuffle.class&lt;/name&gt;
      &lt;value&gt;org.apache.hadoop.mapred.ShuffleHandler&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;yarn.resourcemanager.resource-tracker.address&lt;/name&gt;
      &lt;value&gt;localhost:9025&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;yarn.resourcemanager.scheduler.address&lt;/name&gt;
      &lt;value&gt;localhost:9030&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;yarn.resourcemanager.address&lt;/name&gt;
      &lt;value&gt;localhost:9040&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;yarn.nodemanager.address&lt;/name&gt;
      &lt;value&gt;localhost:9050&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
      &lt;name&gt;yarn.nodemanager.localizer.address&lt;/name&gt;
      &lt;value&gt;localhost:9060&lt;/value&gt;
    &lt;/property&gt;
  
  &lt;/configuration&gt; 
  </code></pre>
  
  <p><strong>mapred-site.xml</strong></p>
  
  <pre><code>&lt;configuration&gt;
    &lt;property&gt;
      &lt;name&gt;mapreduce.framework.name&lt;/name&gt;
      &lt;value&gt;yarn&lt;/value&gt;
    &lt;/property&gt;
  
    &lt;property&gt;
      &lt;name&gt;mapred.job.tracker&lt;/name&gt;
      &lt;value&gt;localhost:8021&lt;/value&gt;
    &lt;/property&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Help appreciated. How do I resolve this ??</p>