[
https://issues.apache.org/jira/browse/YARN-4590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098168#comment-15098168
]
Bibin A Chundatt commented on YARN-4590:
----------------------------------------
[~xupeng]
Can you try from {{hadoop/tools/sls}} as below
bin/slsrun.sh --input-rumen=./sample-data/2jobs2min-rumen-jh.json
--output-dir=./sample-data/
For trunk i think we can update the add classpath as below
{noformat}
function calculate_classpath
{
hadoop_add_to_classpath_toolspath
SLS_HTML_DIR="${HADOOP_PREFIX}"
if [[ -n "${HADOOP_PREFIX}" ]]; then
SLS_HTML_DIR="${HADOOP_PREFIX}/share/hadoop/tools/sls/html"
else
this="${BASH_SOURCE-$0}"
bin=$(cd -P -- "$(dirname -- "${this}")" >/dev/null && pwd -P)
SLS_HTML_DIR="${bin}/../html"
fi
hadoop_debug "Injecting ${SLS_HTML_DIR} into classpath"
hadoop_add_classpath "${SLS_HTML_DIR}"
if [[ ! -d html ]]; then
ln -s "${SLS_HTML_DIR}" html
fi
}
{noformat}
Anythoughts on this?
> SLS(Scheduler Load Simulator) web pages can't load css and js resource
> -----------------------------------------------------------------------
>
> Key: YARN-4590
> URL: https://issues.apache.org/jira/browse/YARN-4590
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: xupeng
> Priority: Minor
>
> HadoopVersion : 2.6.0 / with patch YARN-4367-branch-2
> 1. run command "./slsrun.sh
> --input-rumen=../sample-data/2jobs2min-rumen-jh.json
> --output-dir=../sample-data/"
> success
> 2. open web page "http://10.6.128.88:10001/track"
> can not load css and js resource
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)