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

getClusterStatus() fails with null pointer exception when running jobs in local mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.0.3-alpha, 0.23.6
    • Component/s: jobtracker
    • Labels:
      None
    • Target Version/s:

      Description

      While migrating code from 0.20.2 hadoop codebase to 0.23.1 we encountered this issue for jobs run in local mode of execution:

      java.lang.NullPointerException
      	at org.apache.hadoop.mapred.JobClient.arrayToStringList(JobClient.java:783)
      	at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:138)
      	at org.apache.hadoop.mapred.JobClient$4.run(JobClient.java:815)
      	at org.apache.hadoop.mapred.JobClient$4.run(JobClient.java:812)
      	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.JobClient.getClusterStatus(JobClient.java:812)
      

      We are using cloudera distribution CDH4b2 for testing, however the underlying code is 0.23.1 and I could see no difference in this implementation.

        Attachments

          Activity

            People

            • Assignee:
              devaraj.k Devaraj K
              Reporter:
              rjain7 Rahul Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: