README 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. Yarn Scheduler Load Simulator (SLS)
  2. SLS is a stress and performance harness for the Yarn Resource Manager Scheduler
  3. that exercises the scheduler implementation simulating the cluster size and the
  4. applications load without having to have a cluster nor applications.
  5. SLS runs a regular RM without RPC endpoints and uses a NodeManager and
  6. Application Manager simulators to send and receive events simulating cluster
  7. and application load behavior.
  8. ==== Quick Start ====
  9. Let $HADOOP_ROOT represent the Hadoop install directory. If you build Hadoop
  10. yourself, $HADOOP_ROOT is hadoop-dist/target/hadoop-$VERSION. The simulator
  11. is located at $HADOOP_ROOT/share/hadoop/tools/sls. The folder sls contains
  12. four directories: bin (running scripts), html (web portal to view progress),
  13. sample-conf (some example configurations), and sample-data (an example rumen
  14. trace).
  15. STEP 1: Copy all configuration files (under sample-conf) to $HADOOP_ROOT/etc/hadoop.
  16. STEP 2: Go to the $HADOOP_ROOT/share/hadoop/tools/sls directory, and run the simulator
  17. using the sample rumen trace (under sample-data).
  18. bin/slsrun.sh —-input-rumen=sample-data/2jobs2min-rumen-jh.json —-output-dir=sample-output
  19. The simulator will start to run, and you can track the running progress
  20. using its web portal (http://$HOST:10001/simulate, where $HOST is the place
  21. where you run the simulator.). All collected scheduler metrics are stored
  22. under the output-dir during running. This trace takes about 3 mins to finish.
  23. For more detailed setup, you can check out the document
  24. (http://issues.apache.org/jira/secure/attachment/12604817/YARN-1021.pdf)