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 "Kenji Kikushima (JIRA)" <ji...@apache.org> on 2013/04/22 13:15:16 UTC

[jira] [Updated] (YARN-363) yarn proxyserver fails to find webapps/proxy directory on startup

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

Kenji Kikushima updated YARN-363:
---------------------------------

    Attachment: YARN-363.patch

I confirmed same exception on 0.23.7. Creating webapp/proxy directory resolves this problem.
Attatched fix and test for branch-0.23.
                
> yarn proxyserver fails to find webapps/proxy directory on startup
> -----------------------------------------------------------------
>
>                 Key: YARN-363
>                 URL: https://issues.apache.org/jira/browse/YARN-363
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 0.23.6
>            Reporter: Jason Lowe
>         Attachments: YARN-363.patch
>
>
> Starting up the proxy server fails with this error:
> {noformat}
> 2013-01-29 17:37:41,357 FATAL webproxy.WebAppProxy (WebAppProxy.java:start(99)) - Could not start proxy web server
> java.io.FileNotFoundException: webapps/proxy not found in CLASSPATH
> 	at org.apache.hadoop.http.HttpServer.getWebAppsPath(HttpServer.java:533)
> 	at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:225)
> 	at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:164)
> 	at org.apache.hadoop.yarn.server.webproxy.WebAppProxy.start(WebAppProxy.java:90)
> 	at org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:68)
> 	at org.apache.hadoop.yarn.server.webproxy.WebAppProxyServer.main(WebAppProxyServer.java:94)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira