You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sanjay Dahiya (JIRA)" <ji...@apache.org> on 2006/09/17 17:42:22 UTC

[jira] Created: (HADOOP-541) Reduces asking for map ouput for dead tasktrackers causes NullPointerException on JobTracker

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
          Components: mapred
    Affects Versions: 0.6.1
            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