Yes we have more than two. So wanted to stop the third one and wanted to confirm the recommended steps for doing the same.
On Thu, 9 Apr 2020, 17:24 Vinod Kumar Vavilapalli, <vino...@apache.org> wrote: > What do you mean by “3 nodes running only resource-manager”? > > ResourceManager (RM) is the master daemon in YARN. > > In typical setups, you either have only 1 RM (no high-availability) or 2 > RMs (one active, one standby). It is possible to have more than 2, but > that’s rare. > > Stopping any of those other non-active RMs doesn’t have any impact on the > cluster. > > Thanks > +Vinod > > On 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 > > >