Like HDFS-811/HDFS-1850 but for the TT.
MAPREDUCE-3015 broke compilation of contrib scheduler tests
Patch attached for branch-20-security. Adds a metrics for local dir failures, test for the metric, and a new column on the machines list JT UI, which I manually verified.
Here are test-patch results, unit tests running.
[exec] +1 overall.
[exec] +1 @author. The patch does not contain any @author tags.
[exec] +1 tests included. The patch appears to include 12 new or modified tests.
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec] +1 findbugs. The patch does not introduce any new Findbugs (version ) warnings.
All the tests pass modulo the three that currently fail on the branch (MR-3356, 3357 and 3358).
+ * Version 30: Changed TaskStatus for MAPREDUCE-3015
can you add a few words like "to include local dir failure metrics" so people don't have to jump to JIRA?
- put("failures", tts.getFailures());
+ put("failures", tts.getTaskFailures());
+ put("dirFailures", tts.getDirFailures());
"dir_failures" would be more consistent with the other metrics (eg reduce_slots)
Otherwise looks good
Thanks Todd, updated patch attached.
Since the changes to the previous patch were trivial I went ahead and committed this. Thanks Todd.
Closed upon release of Hadoop-1.1.0.