Thanks Jian He
Yes. For simplicity, its definitely a better option. Also thinking for options other than map, I could pull the change priority info from RMAppAttempt. But this also will need a variable (a boolean perhaps) to store last changed priority info per attempt level. It will have two states and when a priority change request is done at scheduler, this boolean can be turned ON. Thus by seeing this, AM can be updated with changed priority. Yes, its more like keeping a state change, still a possible option, how do u feel about this.