Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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)