hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1703) TaskRunner would crash in finally block if taskDistributedCacheManager is null
Date Thu, 15 Apr 2010 05:11:49 GMT
TaskRunner would crash in finally block if taskDistributedCacheManager is null
------------------------------------------------------------------------------

                 Key: MAPREDUCE-1703
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1703
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: tasktracker
    Affects Versions: 0.21.0
            Reporter: Amareshwari Sriramadasu
             Fix For: 0.22.0


If TaskRunner throws an Exception before initializing taskDistributedCacheManager, it would
crash in finally block at taskDistributedCacheManager.release(). TaskRunner would crash without
doing tip.reportTaskFinished() thus not failing the task. Task will be marked FAILED after
"mapred.task.timeout" because there is no report from  the task.

We should add a not null check for taskDistributedCacheManager in finally block.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message