Managing the Hadoop-YARN services

The sbin Hadoop-YARN bundle contains shell scripts to manage the YARN services. It is always easy to use scripts to start or stop the services. It reads the required Hadoop configuration files, such as yarn-site.xml and slaves, in the etc/hadoop/ directory. This section will cover the usage of different scripts used by YARN.

Similar to Hadoop-HDFS scripts, YARN uses four scripts, listed and described next:

  • start-yarn.sh: The start-yarn script is used to start all the YARN daemons—ResourceManager, NodeManager on all slaves and the proxy server with a single script. It should be executed on the ResourceManager node, that is, the master node. It reads the slaves file in the configuration folder to get a list of the ...

Get Learning YARN now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.