hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Kling (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HDFS-1535) TestBlockRecovery should not use fixed port
Date Sat, 11 Dec 2010 19:35:02 GMT

     [ 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.


Mime
View raw message