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

NPE while running Shuffle benchmark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 0.23.1
    • None
    • mrv2
    • None

    Description

      hadoop jar hadoop-mapreduce-test.jar loadgen -outKey org.apache.hadoop.io.Text -outValue org.apache.hadoop.io.Text
      The tasks fail with the following exception:

      Error: java.lang.NullPointerException
      	at org.apache.hadoop.fs.Path.<init>(Path.java:69)
      	at org.apache.hadoop.fs.Path.<init>(Path.java:58)
      	at org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter.getPendingJobAttemptsPath(FileOutputCommitter.java:118)
      	at org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter.getJobAttemptPath(FileOutputCommitter.java:167)
      	at org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter.getJobAttemptPath(FileOutputCommitter.java:149)
      	at org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter.getPendingTaskAttemptsPath(FileOutputCommitter.java:185)
      	at org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter.getTaskAttemptPath(FileOutputCommitter.java:209)
      	at org.apache.hadoop.mapred.FileOutputCommitter.getTaskAttemptPath(FileOutputCommitter.java:100)
      	at org.apache.hadoop.mapred.FileOutputCommitter.getTaskAttemptPath(FileOutputCommitter.java:94)
      	at org.apache.hadoop.mapred.FileOutputCommitter.needsTaskCommit(FileOutputCommitter.java:176)
      	at org.apache.hadoop.mapred.OutputCommitter.needsTaskCommit(OutputCommitter.java:248)
      	at org.apache.hadoop.mapred.Task.isCommitRequired(Task.java:955)
      	at org.apache.hadoop.mapred.Task.done(Task.java:912)
      	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:331)
      	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:147)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:396)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1177)
      	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:142)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rramya Ramya Sunil
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: