hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12656) MiniKdc throws "address in use" BindException
Date Sat, 19 Dec 2015 00:50:46 GMT

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

Hudson commented on HADOOP-12656:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #9001 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9001/])
HADOOP-12656. MiniKdc throws "address in use" BindException. (arp: rev 8fb70a031b323634ddc51ff6aff4f376baef68c8)
* hadoop-common-project/hadoop-minikdc/src/main/java/org/apache/hadoop/minikdc/MiniKdc.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> MiniKdc throws "address in use" BindException
> ---------------------------------------------
>
>                 Key: HADOOP-12656
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12656
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Jenkins
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12656.001.patch
>
>
> Another address in use error.
> I saw the test TestKerberosAuthenticationHandler.testNameRules failed due to porting
binding error.
> https://builds.apache.org/job/Hadoop-common-trunk-Java8/827/testReport/org.apache.hadoop.security.authentication.server/TestKerberosAuthenticationHandler/testNameRules/
> Looking at MiniKdc implementation, if port is 0, the constructor use ServerSocket to
find an unused port, assign the port number to the member variable {{port}} and close the
ServerSocket object; later, in {{initKDCServer()}}, instantiate a TcpTransport object and
bind at that port. 
> It appears that the port may be used in between, and then throw the exception.



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

Mime
View raw message