Hadoop Common
  1. Hadoop Common
  2. HADOOP-5002

2 core tests TestFileOutputFormat and TestHarFileSystem are failing in branch 19

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.19.1
    • Fix Version/s: 0.19.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      tests fail on my RHEL desktop in branch 19

    • Hadoop Flags:
      Reviewed
    • Release Note:
      This patch solves the null pointer exception issue in the 2 core tests TestFileOutputFormat and TestHarFileSystem in branch 19.

      Description

      I see 2 of the core tests(TestHarFileSystem and TestFileOutputFormat) failing in branch 19. These are passing in branch 20 and in trunk.
      I see nullpointer exceptions for the attempts of reducde tasks in the logs(for example, see the following):

      2009-01-09 13:53:34,112 INFO mapred.TaskInProgress (TaskInProgress.java:updateStatus(484)) - Error from attempt_200901091353_0001_r_000000_0: java.lang.NullPointerException
      at org.apache.hadoop.fs.Path.<init>(Path.java:61)
      at org.apache.hadoop.fs.Path.<init>(Path.java:50)
      at org.apache.hadoop.tools.HadoopArchives$HArchivesReducer.configure(HadoopArchives.java:552)
      at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:83)
      at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:337)
      at org.apache.hadoop.mapred.Child.main(Child.java:155)

      1. patch-5002.txt
        0.9 kB
        Amareshwari Sriramadasu

        Activity

        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Devaraj Das made changes -
        Hadoop Flags [Reviewed]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Amareshwari Sriramadasu made changes -
        Fix Version/s 0.19.1 [ 12313473 ]
        Affects Version/s 0.19.0 [ 12313211 ]
        Affects Version/s 0.19.1 [ 12313473 ]
        Component/s mapred [ 12310690 ]
        Priority Major [ 3 ] Blocker [ 1 ]
        Ravi Gummadi made changes -
        Release Note This patch solves the null pointer exception issue in the 2 core tests TestFileOutputFormat and TestHarFileSystem in branch 19.
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ravi Gummadi made changes -
        Assignee Amareshwari Sriramadasu [ amareshwari ]
        Amareshwari Sriramadasu made changes -
        Field Original Value New Value
        Attachment patch-5002.txt [ 12397494 ]
        Ravi Gummadi created issue -

          People

          • Assignee:
            Amareshwari Sriramadasu
            Reporter:
            Ravi Gummadi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development