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] Created: (HDFS-1535) TestBlockRecovery should not use fixed port
Date Sat, 11 Dec 2010 00:39:02 GMT
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.

Testcase: testFinalizedReplicas took 0.567 sec
        Caused an ERROR
Port in use:
java.net.BindException: Port in use:
        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)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message