java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Hong Cheng (c),
  • 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)
    via by Hong Cheng (c),
  • after startup with ~1000 empty repos. Nexus Professional 2.2-01, > lsof -p 41757 | wc -l 1807 Nexus 2.3-SNAPSHOT ( nexus-professional-2.3-20121113.114232-64-bundle ) > lsof -p 41368 | wc -l 5793 In fact, if I control-C Nexus 2.3 while it is loading the repos, the timeline becomes corrupted, such that on restart, I get a million of these: {noformat} jvm 1 | 2012-11-14 14:10:26 WARN [st-1-thread-195] - org.sonatype.timeline.internal.DefaultTimeline - Failed to add a timeline record jvm 1 | java.io.FileNotFoundException: /Volumes/D/app/nexus/2.3-SNAPSHOT/nexus-professional-2.3-20121113.114232-64-bundle/sonatype-work/nexus/timeline/persist/timeline.2012-11-14.14-10-09-0330.dat (Too many open files) jvm 1 | at java.io.FileOutputStream.openAppend(Native Method) ~[na:1.6.0_37] jvm 1 | at java.io.FileOutputStream.<init>(FileOutputStream.java:192) ~[na:1.6.0_37] jvm 1 | at org.sonatype.timeline.internal.DefaultTimelinePersistor.persist(DefaultTimelinePersistor.java:111) ~[nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.timeline.internal.DefaultTimeline.add(DefaultTimeline.java:153) ~[nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:157) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:475) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addErrorWarningEvent(DefaultFeedRecorder.java:510) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addErrorWarningEvent(DefaultFeedRecorder.java:487) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.feeds.record.LoggingToFeedEventInspector.inspect(LoggingToFeedEventInspector.java:70) [nexus-timeline-plugin-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:187) [nexus-app-2.3-SNAPSHOT.jar:2.3-SNAPSHOT] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_37] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_37] jvm 1 | at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37] {noformat}
    via by Peter Lynch,
  • Apache Spark User List - distinct on huge dataset
    via by Unknown author,
  • Saving causing time outs
    via GitHub by prodkid
    ,
  • setting up connection issues
    via by 713392,
    • 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) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:192) at jetbrains.buildServer.serverSide.buildLog.IndexFileWriterImpl.<init>(IndexFileWriterImpl.java:15) at jetbrains.buildServer.serverSide.buildLog.IndexFileFactory.createIndexFileWriter(IndexFileFactory.java:18) at jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.doFlushMessages(LogMessageFacade.java:286) at jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.doFlushMessages(LogMessageFacade.java:311) at jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.access$200(LogMessageFacade.java:21) at jetbrains.buildServer.serverSide.buildLog.LogMessageFacade$5.run(LogMessageFacade.java:223) at jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.runExclusively(LogMessageFacade.java:238) at jetbrains.buildServer.serverSide.buildLog.LogMessageFacade.flushMessages(LogMessageFacade.java:221) at jetbrains.buildServer.serverSide.buildLog.BuildLogImpl.flush(BuildLogImpl.java:411) at jetbrains.buildServer.serverSide.buildLog.BuildLogFactory$1.flush(BuildLogFactory.java:46) at jetbrains.buildServer.serverSide.impl.RunningBuildImpl.logFinalMessagesAndCloseBuildLog(RunningBuildImpl.java:567) at jetbrains.buildServer.serverSide.impl.RunningBuildImpl.finish(RunningBuildImpl.java:534) at jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl.finishBuild(RunningBuildsManagerImpl.java:244) at jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl$2$1.run(RunningBuildsManagerImpl.java:210) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:89) at jetbrains.buildServer.serverSide.impl.RunningBuildsManagerImpl$2.run(RunningBuildsManagerImpl.java:208) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Users with the same issue

    Matty
    1 times, last one,
    Unknown visitor1 times, last one,
    Axelo
    2 times, last one,
    rp
    1 times, last one,
    Eric Henderson
    20 times, last one,
    137 more bugmates