hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5234) NPE in TaskTracker reinit action
Date Thu, 12 Feb 2009 14:25:59 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672984#action_12672984
] 

Steve Loughran commented on HADOOP-5234:
----------------------------------------

I'd been seeing an NPE in this code too, but assumed it was something I'd been doing, so was
adding various checks based on the hypothesis that it was the directoryCleanupThread that
was null -but that didn't make it go away. If either of localJobConf or defaultJobConf were
null, I'd expect to see stack traces somewhere round here.

> NPE in TaskTracker reinit action
> --------------------------------
>
>                 Key: HADOOP-5234
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5234
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Amareshwari Sriramadasu
>            Priority: Critical
>
> I have seen an NPE in TT reinit action.
> TT logs :
> {noformat}
> 2009-02-12 12:14:02,859 INFO org.apache.hadoop.mapred.TaskTracker: Error cleaning up
task runner: java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.cleanup(TaskTracker.java:2515)
> 	at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.jobHasFinished(TaskTracker.java:2381)
> 	at org.apache.hadoop.mapred.TaskTracker.close(TaskTracker.java:925)
> 	at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:1830)
> 	at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2901)
> {noformat}
> corresponding code is 
> {noformat}
> 2515            if (localJobConf.getNumTasksToExecutePerJvm() == 1) {
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message