title: Failed to setup local dir in Hadoop on Windows
body: <p>Trying to run MapReduce jobs on Windows, when I got an error like this:</p>
  
  <pre><code>Error: Application application_1441785420720_0002 failed 2 times due to AM Container for appattempt_1441785420720_0002_000002 exited with exitCode:-1000
  
  Diagnostics:
  Application application_1441785420720_0003 failed 2 times due to AM Container for appattempt_1441785420720_0003_000002 exited with exitCode: -1000 For more detailed output, check application tracking page:http://HOST:8088/cluster/app/application_1441785420720_0003 Then, click on links to logs of each attempt.
  
  Diagnostics: Failed to setup local dir /tmp/hadoop-USER/nm-local-dir, which was marked as good. Failing this attempt. Failing the application.
  </code></pre>
  
  <p>Everything worked fine yesterday, and nothing about the Java Environment, file permissions, or Hadoop configurations has changed.</p>