You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2015/11/18 01:56:10 UTC

[jira] [Updated] (YARN-4367) SLS webapp doesn't load

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

Karthik Kambatla updated YARN-4367:
-----------------------------------
    Attachment: YARN-4367-branch-2.1.patch

Looks like the issue is because the html template files are not on the classpath. Posting a fairly simple patch to fix that. 

> SLS webapp doesn't load
> -----------------------
>
>                 Key: YARN-4367
>                 URL: https://issues.apache.org/jira/browse/YARN-4367
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler-load-simulator
>    Affects Versions: 2.8.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: YARN-4367-branch-2.1.patch
>
>
> When I run the SLS, the webapp doesn't load and I see the following error:
> {noformat}
> 15/11/17 15:33:30 INFO resourcemanager.ResourceManager: Using Scheduler: org.apache.hadoop.yarn.sls.scheduler.ResourceSchedulerWrapper
> java.lang.NullPointerException
>         at org.apache.hadoop.yarn.sls.web.SLSWebApp.<init>(SLSWebApp.java:87)
>         at org.apache.hadoop.yarn.sls.scheduler.ResourceSchedulerWrapper.initMetrics(ResourceSchedulerWrapper.java:483)
>         at org.apache.hadoop.yarn.sls.scheduler.ResourceSchedulerWrapper.setConf(ResourceSchedulerWrapper.java:181)
>         at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:76)
>         at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:136)
>         at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createScheduler(ResourceManager.java:299)
> {noformat}



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