Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.21.0
-
None
Description
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.
Attachments
Issue Links
- is part of
-
MAPREDUCE-1707 TaskRunner can get NPE in getting ugi from TaskTracker
- Closed