Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2112

TestMiniMRMapRedDebugScript fails due to a missing file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.16.0
    • 0.16.0
    • None
    • None

    Description

      The testcase fails consistently with the following error:

      Waiting for the Mini HDFS Cluster to start...
      java.io.IOException: build/test/debug/testscript.txt: No such file or directory
      at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:142)
      at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:826)
      at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:814)
      at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:795)
      at org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript.launchFailMapAndDebug(TestMiniMRMapRedDebugScript.java:132)
      at org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript.testMapDebugScript(TestMiniMRMapRedDebugScript.java:199)
      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:585)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at junit.framework.TestCase.runBare(TestCase.java:127)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

      Attachments

        1. build.xml.diff
          0.7 kB
          Devaraj Das
        2. HADOOP-2112_1_20071027.patch
          0.7 kB
          Arun Murthy
        3. HADOOP-2112_2_20071029.patch
          0.7 kB
          Arun Murthy

        Activity

          People

            acmurthy Arun Murthy
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: