09-10-2018 01:32 PM
Based on this article, "https://hadoop.apache.org/docs/r2.7.6/hadoop-sls/SchedulerLoadSimulator.html", In a normal hadoop installation everything to config and run SLS is present in $HADOOP_ROOT/share/hadoop/tools/sls/
In Cloudera Installation, I didn't find the above directory for SLS, but instead found hadoop-sls.jar in CDH-5.8.3-1/lib/hadoop-mapreduce directory. I believe that using this jar with SLSRunner class is similar to running slsrun.sh with the same parameters (as mentioned in the link above).
But, according to the link, configuration to start SLS depends on the sls-runner.xml file present under $HADOOP_ROOT/share/hadoop/tools/sls/sample-conf. I wasn't able to find such a config xml in Cloudera's installation.
Could someone help me to figure out how to configure SLS in cloudera, or at least point me in the right direction.
Also, if a small example use case to run SLS in cloudera were to be given, i'd appreciate it. Thanks :)
09-10-2018 07:07 PM