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

RPC Client operations cannot be interrupted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 2.7.0
    • Component/s: ipc
    • Labels:
      None
    • Target Version/s:

      Description

      RPC.waitForProxy swallows any attempts to interrupt it while waiting for a proxy; this makes it hard to shutdown a service that you are starting; you have to wait for the timeouts.

      There are only 4-5 places in the code that use either of the two overloaded methods, removing the catch and changing the signature should not be too painful, unless anyone is using the method outside the hadoop codebase.

        Attachments

        1. HADOOP-6221.patch
          8 kB
          Vinayakumar B
        2. HADOOP-6221.patch
          7 kB
          Steve Loughran
        3. HADOOP-6221.patch
          8 kB
          Steve Loughran
        4. HADOOP-6221.patch
          8 kB
          Steve Loughran
        5. HADOOP-6221.patch
          7 kB
          Steve Loughran
        6. HADOOP-6221.patch
          5 kB
          Steve Loughran
        7. HADOOP-6221-007.patch
          8 kB
          Steve Loughran
        8. HADOOP-6221-008.patch
          8 kB
          Steve Loughran

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: