hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6752) Avoid Address bind errors in TestDatanodeConfig#testMemlockLimit
Date Fri, 25 Jul 2014 18:51:42 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal updated HDFS-6752:
--------------------------------

    Release Note:   (was: Merged to branch-2.5 as r1613492.)

> Avoid Address bind errors in TestDatanodeConfig#testMemlockLimit 
> -----------------------------------------------------------------
>
>                 Key: HDFS-6752
>                 URL: https://issues.apache.org/jira/browse/HDFS-6752
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 2.4.1
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: HDFS-6752.patch
>
>
> Above test failed due to Address Bind Exception.
> Set the HTTP port to ephemeral port in Configuration.
> {noformat}java.net.BindException: Port in use: 0.0.0.0:50075
> 	at sun.nio.ch.Net.bind(Native Method)
> 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
> 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> 	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
> 	at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:853)
> 	at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:794)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:473)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:856)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:379)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2046)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1933)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1980)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1970)
> 	at org.apache.hadoop.hdfs.TestDatanodeConfig.testMemlockLimit(TestDatanodeConfig.java:146){noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message