Like HDFS-811/HDFS-1850 but for the TT.
MAPREDUCE-3015 broke compilation of contrib scheduler tests
Closed upon release of Hadoop-1.1.0.
Since the changes to the previous patch were trivial I went ahead and committed this. Thanks Todd.
Thanks Todd, updated patch attached.
+ * 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
All the tests pass modulo the three that currently fail on the branch (MR-3356, 3357 and 3358).
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.
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.