Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.21.0
-
None
-
Reviewed
-
Fixed a bug related to resource estimation for disk-based scheduling by modifying TaskTracker to return correct map output size for the completed maps and -1 for other tasks or failures.
Description
MAPREDUCE-842 changed Child's mapred.local.dir to have attemptDir as the base local directory. Also assumption is that
org.apache.hadoop.mapred.MapOutputFile always gets Child's mapred.local.dir.
But, MapOuptutFile.getOutputFile() is called from TaskTracker's conf, which does not find the output file. Thus TaskTracker.tryToGetOutputSize() always returns -1.
Attachments
Attachments
Issue Links
- incorporates
-
MAPREDUCE-1321 Spurios logs with org.apache.hadoop.util.DiskChecker$DiskErrorException in TaskTracker
- Resolved
- relates to
-
MAPREDUCE-1662 TaskRunner.prepare() and close() can be removed
- Closed