Killed tasks might not any attempts. Rumen and SLS throw exceptions when processing such data.
Here is the draft patch. Also tested it with actual data.
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.
+1 LGTM. Checking this in
Committed into trunk/branch-2. Thanks, Ming.
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)
Thanks Xuan Gong.