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 "haosdent (JIRA)" <ji...@apache.org> on 2014/01/03 03:19:51 UTC

[jira] [Commented] (YARN-1431) TestWebAppProxyServlet is failing on trunk

    [ https://issues.apache.org/jira/browse/YARN-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861107#comment-13861107 ] 

haosdent commented on YARN-1431:
--------------------------------

On my machine, this test is passed. The error log form surefire looks normal because of this code.
{code:java}
      URL wrongUrl = new URL("http://localhost:9099/proxy/app");
{code}

> TestWebAppProxyServlet is failing on trunk
> ------------------------------------------
>
>                 Key: YARN-1431
>                 URL: https://issues.apache.org/jira/browse/YARN-1431
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: Omkar Vinit Joshi
>            Priority: Blocker
>
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.609 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.webproxy.TestWebAppProxyServlet
> testWebAppProxyServerMainMethod(org.apache.hadoop.yarn.server.webproxy.TestWebAppProxyServlet)  Time elapsed: 5.006 sec  <<< ERROR!
> java.lang.Exception: test timed out after 5000 milliseconds
> 	at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
> 	at java.net.InetAddress$1.getHostByAddr(InetAddress.java:881)
> 	at java.net.InetAddress.getHostFromNameService(InetAddress.java:560)
> 	at java.net.InetAddress.getCanonicalHostName(InetAddress.java:531)
> 	at org.apache.hadoop.security.SecurityUtil.getLocalHostName(SecurityUtil.java:227)
> 	at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:247)
> 	at org.apache.hadoop.yarn.server.webproxy.WebAppProxyServer.doSecureLogin(WebAppProxyServer.java:72)
> 	at org.apache.hadoop.yarn.server.webproxy.WebAppProxyServer.serviceInit(WebAppProxyServer.java:57)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.yarn.server.webproxy.WebAppProxyServer.startServer(WebAppProxyServer.java:99)
> 	at org.apache.hadoop.yarn.server.webproxy.TestWebAppProxyServlet.testWebAppProxyServerMainMethod(TestWebAppProxyServlet.java:187)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)