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

Client.setupConnection should not block Client.stop() calls

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: common, ipc
    • Labels:
      None

      Description

      If the IPC Client is still setting up connections when Client.stop() is called, the stop() call will not succeed until setupConnection finishes (successfully or with failure). 

      This can cause very long delay (maxFailures * timeout can be more than 10minutes depending on configuration) in stopping the client. 
      Client.stop() is for example used in NN switch from Standby to Active, and can therefore have very bad consequences and cause downtime.

        Attachments

        1. HADOOP-15683.000.patch
          3 kB
          Lukas Majercak

          Issue Links

            Activity

              People

              • Assignee:
                lukmajercak Lukas Majercak
                Reporter:
                lukmajercak Lukas Majercak
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: