hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5655) TestMRServerPorts fails on java.net.BindException
Date Sat, 11 Apr 2009 14:01:15 GMT

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

Devaraj Das updated HADOOP-5655:
--------------------------------

    Attachment: 5655.patch

HADOOP-5394 introduced this problem. Datanodes are started in TestMRServerPorts now. The attached
patch should fix the problem. It passes 0 for all the datanode ports in the configuration
of the datanode.

> TestMRServerPorts fails on java.net.BindException
> -------------------------------------------------
>
>                 Key: HADOOP-5655
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5655
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Hairong Kuang
>         Attachments: 5655.patch
>
>
> Both testTaskTrackerPorts and testJobTrackerPorts failed on the same error message:
> Error Message
> Problem binding to /0.0.0.0:50010 : Address already in use
> Stacktrace
> java.net.BindException: Problem binding to /0.0.0.0:50010 : Address already in use
> 	at org.apache.hadoop.ipc.Server.bind(Server.java:190)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:310)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:221)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1301)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1256)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1264)
> 	at org.apache.hadoop.hdfs.TestHDFSServerPorts.startDataNode(TestHDFSServerPorts.java:80)
> 	at org.apache.hadoop.mapred.TestMRServerPorts.testTaskTrackerPorts(TestMRServerPorts.java:160)
> 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.apache.hadoop.ipc.Server.bind(Server.java:188)

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