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

TestPipeApplication fails by NullPointerException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      TestPipeApplication#testApplication and TestPipeApplication#testRunner fail on trunk.

      Running org.apache.hadoop.mapred.pipes.TestPipeApplication
      Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.758 sec <<< FAILURE! - in org.apache.hadoop.mapred.pipes.TestPipeApplication
      testApplication(org.apache.hadoop.mapred.pipes.TestPipeApplication)  Time elapsed: 1.157 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.hadoop.fs.permission.FsPermission.applyUMask(FsPermission.java:213)
      	at org.apache.hadoop.fs.RawLocalFileSystem.mkOneDirWithMode(RawLocalFileSystem.java:498)
      	at org.apache.hadoop.fs.RawLocalFileSystem.mkdirsWithOptionalPermission(RawLocalFileSystem.java:553)
      	at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:526)
      	at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:298)
      	at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:287)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:891)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:788)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:777)
      	at org.apache.hadoop.mapred.pipes.TestPipeApplication.testApplication(TestPipeApplication.java:180)
      
      testRunner(org.apache.hadoop.mapred.pipes.TestPipeApplication)  Time elapsed: 0.035 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.hadoop.fs.permission.FsPermission.applyUMask(FsPermission.java:213)
      	at org.apache.hadoop.fs.RawLocalFileSystem.mkOneDirWithMode(RawLocalFileSystem.java:498)
      	at org.apache.hadoop.fs.RawLocalFileSystem.mkdirsWithOptionalPermission(RawLocalFileSystem.java:553)
      	at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:526)
      	at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:298)
      	at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:287)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:891)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:788)
      	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:777)
      	at org.apache.hadoop.mapred.pipes.TestPipeApplication.testRunner(TestPipeApplication.java:98)
      

        Attachments

        1. MAPREDUCE-6396.patch
          2 kB
          Brahma Reddy Battula

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: