Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5655

TestMRServerPorts fails on java.net.BindException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.20.1
    • 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)

      Attachments

        1. 5655.patch
          1 kB
          Devaraj Das

        Activity

          People

            ddas Devaraj Das
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: