I have posted the same in StackOverflow <https://stackoverflow.com/questions/61099510/decomission-yarn-resource-manager-node> and did not get much reply there also. Anyone any thoughts on this?
On Wed, Apr 8, 2020 at 4:51 PM Debraj Manna <subharaj.ma...@gmail.com> wrote: > Hi > > I have 3 nodes running only resource-manager. I want to change it to 2 > nodes. Can someone let me know what is the recommended a way to > decommission a node running resource-manager? I have seen the below link > but it explains only about nodemanager > > > https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/GracefulDecommission.html > > Can I just do the following (downtime is not a problem here) > > 1. Stop resourcemanager and nodemanager in all the nodes > 2. Remove the node details from all the yarn-site.xml files > 3. Restart the resourcemanager and nodemanager services in the > remaining nodes > > Hadoop Version - 2.6.0 >