MAPREDUCE-7130. Rumen crashes trying to handle MRAppMaster recovery events. Contributed by Peter Bacsko

This commit is contained in:
Jason Lowe 2018-10-09 13:27:03 -05:00
parent 03d66b1f5d
commit 4b5b1ac3d1

View File

@ -44,12 +44,17 @@ static enum Keys {
/** /**
* This enum contains some of the values commonly used by history log events. * This enum contains some of the values commonly used by history log events.
* since values in history can only be strings - Values.name() is used in * since values in history can only be strings - Values.name() is used in
* most places in history file. * most places in history file.
*
* Note: "SUCCEEDED" is actually not a pre-0.21 value, but it might appear
* in jhist logs when the event is an unsuccessful job completion, yet, the
* overall job status is "SUCCEEDED".
*/ */
public static enum Values { public static enum Values {
SUCCESS, FAILED, KILLED, MAP, REDUCE, CLEANUP, RUNNING, PREP, SETUP SUCCESS, SUCCEEDED, FAILED, KILLED, MAP, REDUCE, CLEANUP, RUNNING, PREP,
SETUP
} }
/** /**
* Regex for Pre21 V1(old) jobhistory filename * Regex for Pre21 V1(old) jobhistory filename
* i.e jt-identifier_job-id_user-name_job-name * i.e jt-identifier_job-id_user-name_job-name