[
https://issues.apache.org/jira/browse/YARN-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020365#comment-15020365
]
Varun Saxena commented on YARN-4379:
------------------------------------
This seems to have been broken by HADOOP-12584.
If we disallow browsing static directory the assertion in the test is not
required.
> TestWebApp failing in trunk
> ---------------------------
>
> Key: YARN-4379
> URL: https://issues.apache.org/jira/browse/YARN-4379
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Varun Saxena
> Assignee: Varun Saxena
>
> {noformat}
> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.917 sec <<<
> FAILURE! - in org.apache.hadoop.yarn.webapp.TestWebApp
> testYARNWebAppContext(org.apache.hadoop.yarn.webapp.TestWebApp) Time
> elapsed: 1.828 sec <<< ERROR!
> java.lang.RuntimeException: java.io.IOException: Server returned HTTP
> response code: 403 for URL: http://localhost:57512/static/
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
> at
> org.apache.hadoop.yarn.webapp.TestWebApp.getContent(TestWebApp.java:293)
> at
> org.apache.hadoop.yarn.webapp.TestWebApp.testYARNWebAppContext(TestWebApp.java:276)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)