YARN-2641. Decommission nodes on -refreshNodes instead of next NM-RM heartbeat. (Zhihai Xu via kasha)

(cherry picked from commit da709a2eac7110026169ed3fc4d0eaf85488d3ef)
YARN-2566. DefaultContainerExecutor should pick a working directory randomly. (Zhihai Xu via kasha)

(cherry picked from commit cc93e7e683fa74eb1a7aa2b357a36667bd21086a)
HADOOP-11176. KMSClientProvider authentication fails when both currentUgi and loginUgi are a proxied user. Contributed by Arun Suresh.
(cherry picked from commit 0e57aa3bf689374736939300d8f3525ec38bead7)
HDFS-7237. The command "hdfs namenode -rollingUpgrade" throws ArrayIndexOutOfBoundsException.