[ https://issues.apache.org/jira/browse/HADOOP-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14747232#comment-14747232
]
Bibin A Chundatt commented on HADOOP-12417:
-------------------------------------------
Can we make use of {{ServerSocketUtil#getPort}} for starting jetty server ?
Instead of starting in 0 {{If it is less than or equal to 0, then an implementation specific
default will be used.}}
> 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)
|