Command Line Installation
Also available as:
PDF
loading table of contents...

Start YARN

[Note]Note

To install and configure the Timeline Server see Configuring the Timeline Server.

  1. As $YARN_USER, run the following command from the ResourceManager server:

    su -l yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/yarn-daemon.sh --config $HADOOP_CONF_DIR start resourcemanager"
  2. As $YARN_User, run the following command from all NodeManager nodes:

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

    where: $HADOOP_CONF_DIR is the directory for storing the Hadoop configuration files. For example, /etc/hadoop/conf.