Stop the NodeManager process, switch versions, and restart the NodeManager:
Shut down the current NodeManager process, switch to the previous version, and start the NodeManager process:
su – yarn "/usr/hdp/current/hadoop-yarn-nodemanager/sbin/yarn-daemon.sh stop nodemanager"
hdp-select set hadoop-yarn-nodemanager 2.2.0.0-2041
su – yarn -c "/usr/hdp/current/hadoop-yarn-nodemanager/sbin/yarn-daemon.sh start nodemanager"
To verify that the NodeManager joined the cluster, check the status of the node:
yarn node –list
Make sure 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
Continue with the next downgrade step.