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

Retain cause of bind failure in Server.bind

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.18.0
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      When a datanode can't start listening on a port, there's no explanation why; the message/stack is lost:

      Caused by: java.net.BindException: Problem binding to localhost/127.0.0.1:8022
      at org.apache.hadoop.ipc.Server.bind(Server.java:168)
      at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:279)
      at org.apache.hadoop.dfs.DataNode.(DataNode.java:185)
      at org.apache.hadoop.dfs.ExtDataNode.(ExtDataNode.java:55)
      at org.smartfrog.services.hadoop.components.datanode.DatanodeImpl.sfStart(DatanodeImpl.java:60)

      Attachments

        1. hadoop-3434.patch
          0.8 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: