Killed tasks might not any attempts. Rumen and SLS throw exceptions when processing such data.
I just committed this to branch-2.8 and branch-2.7.
Thank you Ye Zhou for backporting.
Konstantin Shvachko Patch applies to branch 2.7. Build and Unit Tests passed.
Thanks Xuan Gong.
FAILURE: Integrated in Hadoop-trunk-Commit #9189 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9189/)
YARN-4612. Fix rumen and scheduler load simulator handle killed tasks (xgong: rev 4efdf3a979c361348612f817a3253be6d0de58f7)
Committed into trunk/branch-2. Thanks, Ming.
+1 LGTM. Checking this in
This message was automatically generated.
The json had a new job with zero task attempt which is the new unit test. The updated patch should fix the javac warning by switching to use new APIs.
Here is the draft patch. Also tested it with actual data.