You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/09/16 11:34:47 UTC
[jira] [Commented] (HADOOP-12417) TestWebDelegationToken failing
with port in use
[ https://issues.apache.org/jira/browse/HADOOP-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14747213#comment-14747213 ]
Steve Loughran commented on HADOOP-12417:
-----------------------------------------
{code}
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
at java.net.ServerSocket.bind(ServerSocket.java:376)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.Server.doStart(Server.java:235)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.apache.hadoop.security.token.delegation.web.TestWebDelegationToken.testDelegationTokenAuthenticatorCalls(TestWebDelegationToken.java:352)
at org.apache.hadoop.security.token.delegation.web.TestWebDelegationToken.testDelegationTokenAuthenticatorCallsWithHeader(TestWebDelegationToken.java:332)
{code}
> TestWebDelegationToken failing with port in use
> -----------------------------------------------
>
> Key: HADOOP-12417
> URL: https://issues.apache.org/jira/browse/HADOOP-12417
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Environment: Jenkins
> Reporter: Steve Loughran
>
> The {{TestWebDelegationToken}} failed on Jenkins with port in use. It looks like the code searches for a free port and then starts jetty, but maybe there's enough of a race condition between port location and jetty.start to cause intermittent failures.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)