hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Sasaki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5706) Fail to launch SLSRunner due to NPE
Date Tue, 04 Oct 2016 13:52:20 GMT

     [ https://issues.apache.org/jira/browse/YARN-5706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kai Sasaki updated YARN-5706:
-----------------------------
    Description: 
{code}
java.lang.NullPointerException
	at org.apache.hadoop.yarn.sls.web.SLSWebApp.<init>(SLSWebApp.java:88)
	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.initMetrics(SLSCapacityScheduler.java:459)
	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.setConf(SLSCapacityScheduler.java:153)
	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
{code}

CLASSPATH for html resource is not configured properly.
{code}
DEBUG: Injecting share/hadoop/tools/sls/html into CLASSPATH
DEBUG: Rejected CLASSPATH: share/hadoop/tools/sls/html (does not exist)
{code}

This issue can be reproduced when doing according the documentation instruction.
http://hadoop.apache.org/docs/current/hadoop-sls/SchedulerLoadSimulator.html

{code}
$ cd $HADOOP_ROOT/share/hadoop/tools/sls
$ bin/slsrun.sh
  --input-rumen |--input-sls=<TRACE_FILE1,TRACE_FILE2,...>
  --output-dir=<SLS_SIMULATION_OUTPUT_DIRECTORY> [--nodes=<SLS_NODES_FILE>]
    [--track-jobs=<JOBID1,JOBID2,...>] [--print-simulation]
{code}

  was:
{code}
java.lang.NullPointerException
	at org.apache.hadoop.yarn.sls.web.SLSWebApp.<init>(SLSWebApp.java:88)
	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.initMetrics(SLSCapacityScheduler.java:459)
	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.setConf(SLSCapacityScheduler.java:153)
	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
{code}

CLASSPATH for html resource is not configured properly.
{code}
DEBUG: Injecting share/hadoop/tools/sls/html into CLASSPATH
DEBUG: Rejected CLASSPATH: share/hadoop/tools/sls/html (does not exist)
{code}


> Fail to launch SLSRunner due to NPE
> -----------------------------------
>
>                 Key: YARN-5706
>                 URL: https://issues.apache.org/jira/browse/YARN-5706
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Kai Sasaki
>            Assignee: Kai Sasaki
>         Attachments: YARN-5706.01.patch
>
>
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.sls.web.SLSWebApp.<init>(SLSWebApp.java:88)
> 	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.initMetrics(SLSCapacityScheduler.java:459)
> 	at org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler.setConf(SLSCapacityScheduler.java:153)
> 	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
> {code}
> CLASSPATH for html resource is not configured properly.
> {code}
> DEBUG: Injecting share/hadoop/tools/sls/html into CLASSPATH
> DEBUG: Rejected CLASSPATH: share/hadoop/tools/sls/html (does not exist)
> {code}
> This issue can be reproduced when doing according the documentation instruction.
> http://hadoop.apache.org/docs/current/hadoop-sls/SchedulerLoadSimulator.html
> {code}
> $ cd $HADOOP_ROOT/share/hadoop/tools/sls
> $ bin/slsrun.sh
>   --input-rumen |--input-sls=<TRACE_FILE1,TRACE_FILE2,...>
>   --output-dir=<SLS_SIMULATION_OUTPUT_DIRECTORY> [--nodes=<SLS_NODES_FILE>]
>     [--track-jobs=<JOBID1,JOBID2,...>] [--print-simulation]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message