You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Patrick Kling (JIRA)" <ji...@apache.org> on 2010/12/11 20:35:02 UTC
[jira] Resolved: (HDFS-1535) TestBlockRecovery should not use fixed
port
[ https://issues.apache.org/jira/browse/HDFS-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Kling resolved HDFS-1535.
---------------------------------
Resolution: Duplicate
> TestBlockRecovery should not use fixed port
> -------------------------------------------
>
> Key: HDFS-1535
> URL: https://issues.apache.org/jira/browse/HDFS-1535
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Patrick Kling
>
> TestBlockRecovery uses the default data node port 50075. This causes the test to fail if this port is not available.
> {code}
> Testcase: testFinalizedReplicas took 0.567 sec
> Caused an ERROR
> Port in use: 0.0.0.0:50075
> java.net.BindException: Port in use: 0.0.0.0:50075
> at org.apache.hadoop.http.HttpServer.start(HttpServer.java:625)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:358)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:502)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:281)
> at org.apache.hadoop.hdfs.server.datanode.TestBlockRecovery.startUp(TestBlockRecovery.java:104)
> Caused by: java.net.BindException: Address already in use
> at sun.nio.ch.Net.bind(Native Method)
> at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
> at org.apache.hadoop.http.HttpServer.start(HttpServer.java:582)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.