3.3. Upgrade the MapReduce JobHistoryServer

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:

  1. 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

    su - mapred -c "/usr/hdp/current/hadoop-mapreduce-historyserver/sbin/mr-jobhistory-daemon.sh start historyserver"

  2. 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:


loading table of contents...