Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2716

MR279: MRReliabilityTest job fails because of missing job-file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • mrv2
    • None
    • Reviewed

    Description

      The ApplicationReport should have the jobFile (e.g. hdfs://localhost:9000/tmp/hadoop-<USER>/mapred/staging/<USER>/.staging/job_201107121640_0001/job.xml)

      Without it, jobs such as MRReliabilityTest fail with the following error (caused by the fact that jobFile is hardcoded to "" in TypeConverter.java):
      e.g. java.lang.IllegalArgumentException: Can not create a Path from an empty string
      at org.apache.hadoop.fs.Path.checkPathArg(Path.java:88)
      at org.apache.hadoop.fs.Path.<init>(Path.java:96)
      at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:445)
      at org.apache.hadoop.mapreduce.Cluster.getJobs(Cluster.java:104)
      at org.apache.hadoop.mapreduce.Cluster.getAllJobs(Cluster.java:218)
      at org.apache.hadoop.mapred.JobClient.getAllJobs(JobClient.java:757)
      at org.apache.hadoop.mapred.JobClient.jobsToComplete(JobClient.java:741)
      at org.apache.hadoop.mapred.ReliabilityTest.runTest(ReliabilityTest.java:219)
      at org.apache.hadoop.mapred.ReliabilityTest.runSleepJobTest(ReliabilityTest.java:133)
      at org.apache.hadoop.mapred.ReliabilityTest.run(ReliabilityTest.java:116)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
      at org.apache.hadoop.mapred.ReliabilityTest.main(ReliabilityTest.java:504)
      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.MapredTestDriver.run(MapredTestDriver.java:111)
      at org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:118)
      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:192)

      Attachments

        1. MAPREDUCE-2716-v8.patch
          28 kB
          Jeffrey Naisbitt
        2. MAPREDUCE-2716-v7.patch
          26 kB
          Jeffrey Naisbitt
        3. MAPREDUCE-2716-v6.patch
          20 kB
          Jeffrey Naisbitt
        4. MAPREDUCE-2716-v5.patch
          15 kB
          Jeffrey Naisbitt
        5. MAPREDUCE-2716-v4.patch
          14 kB
          Jeffrey Naisbitt
        6. MAPREDUCE-2716-v3.patch
          6 kB
          Jeffrey Naisbitt
        7. MAPREDUCE-2716-v2.patch
          19 kB
          Jeffrey Naisbitt
        8. MAPREDUCE-2716-20110903.txt
          28 kB
          Vinod Kumar Vavilapalli
        9. MAPREDUCE-2716.patch
          15 kB
          Jeffrey Naisbitt

        Issue Links

          Activity

            People

              naisbitt Jeffrey Naisbitt
              naisbitt Jeffrey Naisbitt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: