[ https://issues.apache.org/jira/browse/MAPREDUCE-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147939#comment-13147939 ]
Vinod Kumar Vavilapalli commented on MAPREDUCE-3390: ---------------------------------------------------- I am fine with the patch as is. But I am skeptical that it will fix any issue. The generated-classpath file should always be there in the jars and you shouldn't be hitting this at all. Unless you are running into random jar related issues like staleness. Can you please confirm? > NPE while submitting job > ------------------------ > > Key: MAPREDUCE-3390 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3390 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 0.23.0, 0.24.0 > Reporter: John George > Assignee: John George > Priority: Blocker > Attachments: MAPREDUCE-3390.branch-0.23.patch > > > Caused by: java.lang.NullPointerException > at java.io.Reader.<init>(Reader.java:61) > at java.io.InputStreamReader.<init>(InputStreamReader.java:55) > at > org.apache.hadoop.mapreduce.v2.util.MRApps.setMRFrameworkClasspath(MRApps.java:183) > at > org.apache.hadoop.mapreduce.v2.util.MRApps.setClasspath(MRApps.java:220) > at > org.apache.hadoop.mapred.YARNRunner.createApplicationSubmissionContext(YARNRunner.java:360) > at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:237) > at > org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:377) > at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1159) > at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1156) > 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:1152) > at org.apache.hadoop.mapreduce.Job.submit(Job.java:1156) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:571) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira