hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4909) Fix intermittent failures of TestRMWebServices And TestRMWithCSRFFilter
Date Thu, 14 Apr 2016 06:15:26 GMT

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

Naganarasimha G R commented on YARN-4909:
-----------------------------------------

Hi [~bibinchundatt], Overall approach is fine for now, but in one narrow case if the port
is modified in parent class in JerseyTest(not hadoop class) to be greater than 65435 then
there is narrow possibility of port becoming negative. 
whether we require to handle this, thoughts ?

> Fix intermittent failures of TestRMWebServices And TestRMWithCSRFFilter
> -----------------------------------------------------------------------
>
>                 Key: YARN-4909
>                 URL: https://issues.apache.org/jira/browse/YARN-4909
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Brahma Reddy Battula
>            Assignee: Bibin A Chundatt
>            Priority: Blocker
>         Attachments: 0001-YARN-4909.patch, 0002-YARN-4909.patch, 0003-YARN-4909.patch,
0004-YARN-4909.patch, 0005-YARN-4909.patch, 0006-YARN-4909.patch
>
>
>  *Precommit link* 
> https://builds.apache.org/job/PreCommit-YARN-Build/10908/testReport/
> *Trace* 
> {noformat}
> com.sun.jersey.test.framework.spi.container.TestContainerException: java.net.BindException:
Address already in use
> 	at sun.nio.ch.Net.bind0(Native Method)
> 	at sun.nio.ch.Net.bind(Net.java:463)
> 	at sun.nio.ch.Net.bind(Net.java:455)
> 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
> 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> 	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:413)
> 	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:384)
> 	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:375)
> 	at org.glassfish.grizzly.http.server.NetworkListener.start(NetworkListener.java:549)
> 	at org.glassfish.grizzly.http.server.HttpServer.start(HttpServer.java:255)
> 	at com.sun.jersey.api.container.grizzly2.GrizzlyServerFactory.createHttpServer(GrizzlyServerFactory.java:326)
> 	at com.sun.jersey.api.container.grizzly2.GrizzlyServerFactory.createHttpServer(GrizzlyServerFactory.java:343)
> 	at com.sun.jersey.test.framework.spi.container.grizzly2.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer.instantiateGrizzlyWebServer(GrizzlyWebTestContainerFactory.java:219)
> 	at com.sun.jersey.test.framework.spi.container.grizzly2.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer.<init>(GrizzlyWebTestContainerFactory.java:129)
> 	at com.sun.jersey.test.framework.spi.container.grizzly2.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer.<init>(GrizzlyWebTestContainerFactory.java:86)
> 	at com.sun.jersey.test.framework.spi.container.grizzly2.web.GrizzlyWebTestContainerFactory.create(GrizzlyWebTestContainerFactory.java:79)
> 	at com.sun.jersey.test.framework.JerseyTest.getContainer(JerseyTest.java:342)
> 	at com.sun.jersey.test.framework.JerseyTest.<init>(JerseyTest.java:217)
> 	at org.apache.hadoop.yarn.webapp.JerseyTestBase.<init>(JerseyTestBase.java:30)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServices.<init>(TestRMWebServices.java:125)
> {noformat}



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

Mime
View raw message