Rolling Upgrade Guide
Also available as:
PDF
loading table of contents...

On the core slave node, upgrade the YARN NodeManager

  1. Shut down the current NodeManager process, switch to the new version, and start the new NodeManager process:

    su - yarn -c "/usr/hdp/current/hadoop-yarn-nodemanager/sbin/yarn-daemon.sh stop nodemanager"

    hdp-select set hadoop-yarn-nodemanager 2.2.9.0-$BUILD

    su - yarn -c "/usr/hdp/current/hadoop-yarn-nodemanager/sbin/yarn-daemon.sh start nodemanager"

  2. To verify that the NodeManager joined the cluster, check the status of the node:

    su - yarn -c "yarn node -list"

    Make sure that the node is listed as running. For example:

    [yarn@node-1 ~]$ yarn node -list
    15/02/24 18:17:20 INFO impl.TimelineClientImpl: Timeline service address: 
    http://node-1.example.com:8188/ws/v1/timeline/
    15/02/24 18:17:20 INFO client.RMProxy: Connecting to ResourceManager at 
    node-1.example.com/240.0.0.10:8032
    Total Nodes:1
    Node-Id                  Node-State Node-Http-Address          Number-of-Running-Containers
    node-1.example.com:45454 RUNNING    node-1.example.com:50060   0