O'Reilly logo

Hadoop 2.x Administration Cookbook by Gurmukh Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

YARN SLS

In this recipe, we will take a look at YARN simulator, which is useful to test and determine the load of YARN under various test conditions.

The YARN Scheduler Load Simulator (SLS) is such a tool, which can simulate large-scale YARN clusters and application loads in a single machine within a single JVM.

Getting ready

For this recipe, you will need a single machine with Hadoop installed. For this, readers can refer to the first chapter, where we have covered a single node cluster setup.

How to do it...

  1. Connect to the master1.cyrus.com single node and switch as user hadoop.
  2. The SLS is located at $HADOOP_HOME/share/hadoop/tools/sls/.
  3. The SLS runs the simulator using the sls-runner.xml configuration file under $HADOOP_HOME/etc/hadoop.
  4. A sample file ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required