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

org.apache.hadoop.streaming tests failed

    XMLWordPrintableJSON

    Details

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

      Linux

      Description

      The streaming tests failed after the fix for HADOOP-2080

      Failing tests:
      org.apache.hadoop.streaming.TestGzipInput.testCommandLine
      org.apache.hadoop.streaming.TestMultipleCachefiles.unknown
      org.apache.hadoop.streaming.TestStreamAggregate.testCommandLine
      org.apache.hadoop.streaming.TestStreamDataProtocol.testCommandLine
      org.apache.hadoop.streaming.TestStreamReduceNone.testCommandLine
      org.apache.hadoop.streaming.TestStreaming.testCommandLine
      org.apache.hadoop.streaming.TestSymLink.unknown

      Exception (from the first failure):
      junit.framework.AssertionFailedError: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:80)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:158)
      at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
      at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:261)
      at org.apache.hadoop.mapred.JobConf.addInputPath(JobConf.java:173)
      at org.apache.hadoop.streaming.StreamJob.setJobConf(StreamJob.java:673)
      at org.apache.hadoop.streaming.StreamJob.go(StreamJob.java:108)
      at org.apache.hadoop.streaming.TestStreaming.testCommandLine(TestStreaming.java:92)
      Caused by: java.lang.reflect.InvocationTargetException
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:78)
      ... 23 more
      Caused by: java.lang.NullPointerException
      at org.apache.hadoop.fs.ChecksumFileSystem.<init>(ChecksumFileSystem.java:48)
      at org.apache.hadoop.fs.LocalFileSystem.<init>(LocalFileSystem.java:34)
      ... 28 more

      at org.apache.hadoop.streaming.TestStreaming.failTrace(TestStreaming.java:113)
      at org.apache.hadoop.streaming.TestStreaming.testCommandLine(TestStreaming.java:100)

      Changes in the failing build:
      /lucene/hadoop/branches/branch-0.15/src/test/org/apache/hadoop/fs/TestChecksumFileSystem.java
      /lucene/hadoop/branches/branch-0.15/src/java/org/apache/hadoop/fs/ChecksumFileSystem.java
      /lucene/hadoop/branches/branch-0.15/CHANGES.txt

        Attachments

          Activity

            People

            • Assignee:
              omalley Owen O'Malley
              Reporter:
              mukundm Mukund Madhugiri
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: