[ https://issues.apache.org/jira/browse/HADOOP-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mingliang Liu updated HADOOP-12417: ----------------------------------- Attachment: HADOOP-12417.000.patch When creating jetty sever, the v0 patch always binds port *0* which gives us an ephemeral port, instead of searching a free port before starting jetty. In {{getJettyURL()}} methods, we should use {{connector.getLocalPort()}} after the jetty starts. > 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 > Assignee: Mingliang Liu > Attachments: HADOOP-12417.000.patch > > > 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)