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

RPC Client operations cannot be interrupted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.21.0
    • 2.7.0
    • ipc
    • None

    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-008.patch
          8 kB
          Steve Loughran
        2. HADOOP-6221-007.patch
          8 kB
          Steve Loughran
        3. HADOOP-6221.patch
          5 kB
          Steve Loughran
        4. HADOOP-6221.patch
          7 kB
          Steve Loughran
        5. HADOOP-6221.patch
          8 kB
          Steve Loughran
        6. HADOOP-6221.patch
          8 kB
          Steve Loughran
        7. HADOOP-6221.patch
          7 kB
          Steve Loughran
        8. HADOOP-6221.patch
          8 kB
          Vinayakumar B

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: