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

2 core tests TestFileOutputFormat and TestHarFileSystem are failing in branch 19

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.1
    • 0.19.1
    • None
    • None
    • tests fail on my RHEL desktop in branch 19

    • Reviewed
    • 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)

      Attachments

        1. patch-5002.txt
          0.9 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            ravidotg Ravi Gummadi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: