java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied)

SpringSource Issue Tracker | Hong Cheng (c) | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Reproduce steps: 1,Create cdh4 cluster with attached spec file:default_cdh4_ha_and_federation_hadoop_cluster.json 2,Run TestDFSIO job from Client with user joe; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO -write -nrFiles 5 -fileSize 100 3,Clean temp files; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO clean 4,Run TestDFSIO again(or swith active namenode twice if you can't reproduce the bug); Expected results: No error in step 2 and 4; Actual results: Find below messages after job running done. java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:192) at org.apache.hadoop.fs.TestDFSIO.analyzeResult(TestDFSIO.java:526) at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:623) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144) at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:208)

    SpringSource Issue Tracker | 4 years ago | Hong Cheng (c)
    java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied)
  2. 0

    Reproduce steps: 1,Create cdh4 cluster with attached spec file:default_cdh4_ha_and_federation_hadoop_cluster.json 2,Run TestDFSIO job from Client with user joe; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO -write -nrFiles 5 -fileSize 100 3,Clean temp files; hadoop jar hadoop-test-2.0.0-mr1-cdh4.1.2.jar TestDFSIO clean 4,Run TestDFSIO again(or swith active namenode twice if you can't reproduce the bug); Expected results: No error in step 2 and 4; Actual results: Find below messages after job running done. java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:192) at org.apache.hadoop.fs.TestDFSIO.analyzeResult(TestDFSIO.java:526) at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:623) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:456) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144) at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:208)

    SpringSource Issue Tracker | 4 years ago | Hong Cheng (c)
    java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied)
  3. 0

    Hadoop Benchmark TestDFSIO

    ac.kr | 1 year ago
    java.io.FileNotFoundException: TestDFSIO_results.log (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.FileNotFoundException: C:\opt\apache-tomcat-6.0.36-ins2\logs\localhost.2013-02-11.log (Access is denied)

    Stack Overflow | 4 years ago | ssgao
    java.io.FileNotFoundException: C:\opt\apache-tomcat-6.0.36-ins2\logs\localhost.2013-02-11.log (Access is denied)
  6. 0

    Renaming a build configuration into a name with dots reports error, but renames it in UI

    YouTrack | 6 years ago
    java.io.FileNotFoundException: C:\Work\perforce\run-sandbox\server\.BuildServer\system\artifacts\Project_1\1..\63290\.teamcity\logs\buildLog.msg5.i1 (The system cannot find the path specified)

  1. rsprangemeijer 1 times, last 1 week ago
  2. Casper 1 times, last 4 weeks ago
  3. QrCeric 216 times, last 2 weeks ago
  4. Axelo 1 times, last 1 month ago
  5. tyson925 2 times, last 1 month ago
34 more registered users
61 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    TestDFSIO_results.log (Permission denied)

    at java.io.FileOutputStream.openAppend()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.openAppend(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:192)
    2 frames
  3. Hadoop
    TestDFSIO.main
    1. org.apache.hadoop.fs.TestDFSIO.analyzeResult(TestDFSIO.java:526)
    2. org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:623)
    3. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    4. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
    5. org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:456)
    5 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Hadoop
    ProgramDriver.driver
    1. org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
    2. org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144)
    2 frames
  6. org.apache.hadoop
    AllTestDriver.main
    1. org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:81)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  8. Hadoop
    RunJar.main
    1. org.apache.hadoop.util.RunJar.main(RunJar.java:208)
    1 frame