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

Port range binding fails due to socket bind race condition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.0.2-alpha
    • None
    • ipc
    • None

    Description

      Java's ServerSocket#bind does both a bind and listen. At a system level, multiple processes may bind to the same port but only one may listen. Java sockets are left in an unrecoverable state when a process loses the race to listen first.

      Servers that compete over a listening port range (ex. App Master) will fail the entire range after a collision.  The IPC layer should make a better effort to recover from failed binds.

      Attachments

        1. HADOOP-15897.patch
          4 kB
          Daryn Sharp

        Activity

          People

            daryn Daryn Sharp
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: