[ http://issues.apache.org/jira/browse/HADOOP-648?page=comments#action_12445113 ] Thomas Friol commented on HADOOP-648: -------------------------------------
In fatc it seems that in this method : synchronized void ensureFreshStatus() throws IOException { if (System.currentTimeMillis() - statustime > MAX_JOBPROFILE_AGE) { this.status = jobSubmitClient.getJobStatus(profile.getJobId()); this.statustime = System.currentTimeMillis(); } } this.status is setted to null because jobSubmitClient.getJobStatus() returns null > JobClient waitForCompletion() method sometimes throws an NPE > ------------------------------------------------------------ > > Key: HADOOP-648 > URL: http://issues.apache.org/jira/browse/HADOOP-648 > Project: Hadoop > Issue Type: Bug > Components: mapred > Affects Versions: 0.6.1 > Reporter: Thomas Friol > > java.lang.NullPointerException > at > org.apache.hadoop.mapred.JobClient$NetworkedJob.isComplete(JobClient.java:113) > at > org.apache.hadoop.mapred.JobClient$NetworkedJob.waitForCompletion(JobClient.java:128) > Does someone have an idea why this happens ? > Thanks for any help. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira