Hadoop Common
  1. Hadoop Common
  2. HADOOP-5655

TestMRServerPorts fails on java.net.BindException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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)

      1. 5655.patch
        1 kB
        Devaraj Das

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Devaraj Das
            Reporter:
            Hairong Kuang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development