This is the start of several steps related to the YARN rolling upgrade process. All running jobs should continue to make progress during and after the JobHistoryServer, YARN Timeline Service, ResourceMaster, and NodeManager upgrades, without task retries or failures due to the upgrade.
MapReduce applications will continue to use the same MapReduce version during the upgrade, even if their tasks are scheduled on nodes that are upgraded to the new version.
To upgrade the JobHistoryServer:
Shut down the JobHistoryServer process, switch to the new version, and start the JobHistoryServer process:
su - mapred -c "/usr/hdp/current/hadoop-mapreduce-historyserver/sbin/mr-jobhistory-daemon.sh stop historyserver"
hdp-select set hadoop-mapreduce-historyserver 2.2.6.0-2800
su - mapred -c "/usr/hdp/current/hadoop-mapreduce-historyserver/sbin/mr-jobhistory-daemon.sh start historyserver"
To validate the upgrade, check that the JobHistoryServer is running. (The default port is 19888.) Make sure BuildVersion (listed in Application -> About) matches your new version:
http://<host>:<port>/jobhistory