title: Hadoop jobtracker's tracking url cannot access
body: <p>I have configured my hadoop system in wsl and run the wordcount example. But when I want to see the history of the job, I found the tracking url cannot access.</p>
  
  <p>The job is working well, the jobhistory is running as well.</p>
  
  <p><a href="https://i.stack.imgur.com/6d164.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6d164.png" alt="enter image description here"></a></p>
  
  <p>The history tracking url is my wsl hostname:8088/proxy/application_1585482453915_0002/.</p>
  
  <p><a href="https://i.stack.imgur.com/N7N8O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N7N8O.png" alt="enter image description here"></a></p>
  
  <p>You can see the url above.</p>
  
  <p>But I can still access to localhost:19888/jobhistory to see my jobhistory.</p>
  
  <p><a href="https://i.stack.imgur.com/NQffb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NQffb.png" alt="enter image description here"></a></p>
  
  <p>How is this problem occurs? Is it a problem of configuration?</p>
  
  <p>My hadoop version is 2.7.1.</p>
  
  <p>My core-site.xml</p>
  
  <pre><code>&lt;property&gt;
          &lt;name&gt;hadoop.tmp.dir&lt;/name&gt;
          &lt;value&gt;file:/home/hadoop/hadoop/tmp&lt;/value&gt;
          &lt;description&gt;Abase for other temporary directories.&lt;/description&gt;
      &lt;/property&gt;
      &lt;property&gt;
  　　　　    &lt;name&gt;fs.defaultFS&lt;/name&gt;
  　　　　    &lt;value&gt;hdfs://localhost:9000&lt;/value&gt;
      &lt;/property&gt;
  </code></pre>
  
  <p>My hdfs-site.xml</p>
  
  <pre><code>&lt;property&gt;
          &lt;name&gt;dfs.replication&lt;/name&gt;
          &lt;value&gt;1&lt;/value&gt;
      &lt;/property&gt;
      &lt;property&gt;
          &lt;name&gt;dfs.namenode.name.dir&lt;/name&gt;
          &lt;value&gt;file:/home/hadoop/hadoop/tmp/dfs/name&lt;/value&gt;
      &lt;/property&gt;
      &lt;property&gt;
          &lt;name&gt;dfs.datanode.data.dir&lt;/name&gt;
          &lt;value&gt;file:/home/hadoop/hadoop/tmp/dfs/data&lt;/value&gt;
      &lt;/property&gt;
  </code></pre>
  
  <p>My mapred-site.xml</p>
  
  <pre><code>&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;mapreduce.jobhistory.address&lt;/name&gt;
          &lt;value&gt;localhost:10020&lt;/value&gt;
      &lt;/property&gt;
      &lt;property&gt;
          &lt;name&gt;mapreduce.jobhistory.webapp.address&lt;/name&gt;    
          &lt;value&gt;localhost:19888&lt;/value&gt;
      &lt;/property&gt;
  </code></pre>
  
  <p>My yarn-site.xml</p>
  
  <pre><code>&lt;property&gt;
        &lt;name&gt;yarn.nodemanager.vmem-check-enabled&lt;/name&gt;
        &lt;value&gt;false&lt;/value&gt;
        &lt;description&gt;Whether virtual memory limits will be enforced for containers&lt;/description&gt;
    &lt;/property&gt;
    &lt;property&gt;
        &lt;name&gt;yarn.nodemanager.vmem-pmem-ratio&lt;/name&gt;
        &lt;value&gt;4&lt;/value&gt;
        &lt;description&gt;Ratio between virtual memory to physical memory when setting memory limits for containers&lt;/description&gt;
    &lt;/property&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;
  </code></pre>
  
  <p>My /etc/hosts</p>
  
  <pre><code>127.0.0.1   localhost
  127.0.1.1   DESKTOP-U1EOV4J.localdomain DESKTOP-U1EOV4J
  </code></pre>