Hadoop Common
  1. Hadoop Common
  2. HADOOP-3456

IPC.Client connect timeout should be configurable

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.18.0
    • Fix Version/s: None
    • Component/s: ipc
    • Labels:
      None

      Description

      In ipc.Client.setupIOStreams, the connect timeout is hard-coded to 20 seconds

      // connection time out is 20s
      this.socket.connect(remoteId.getAddress(), 20000);

      This could be made configurable for deployments where a longer connect time is desired, or where a shorter connect time would detect failure faster.

        Issue Links

          Activity

            People

            • Assignee:
              Steve Loughran
              Reporter:
              Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development