[ http://issues.apache.org/jira/browse/HADOOP-541?page=all ]
Sanjay Dahiya deleted HADOOP-541: --------------------------------- > Reduces asking for map ouput for dead tasktrackers causes > NullPointerException on JobTracker > -------------------------------------------------------------------------------------------- > > Key: HADOOP-541 > URL: http://issues.apache.org/jira/browse/HADOOP-541 > Project: Hadoop > Issue Type: Bug > Reporter: Sanjay Dahiya > > For dead task trackers, reduce tasks invoking locateMapOutputs(), results in > NullPointerException. > if (now - newProfile.getLastSeen() > > TASKTRACKER_EXPIRY_INTERVAL) { > // Remove completely > updateTaskTrackerStatus(trackerName, > null); <------ Task tracker removed. > result.add(new MapOutputLocation(status.getTaskId(), > mapTasksNeeded[i], > tracker.getHost(), > <------------NullPointerException > tracker.getHttpPort())); > > 2006-09-15 15:15:52,634 INFO org.apache.hadoop.ipc.Server: Server handler 6 > on 50020 call error: java.io.IOException: java.lang.NullPointerException > java.io.IOException: java.lang.NullPointerException > at > org.apache.hadoop.mapred.JobTracker.locateMapOutputs(JobTracker.java:956) > at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:333) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:473) -- 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
