Hadoop Common
  1. Hadoop Common
  2. HADOOP-6221

RPC Client operations cannot be interrupted

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Issue Links

          Activity

          Steve Loughran created issue -
          Steve Loughran made changes -
          Field Original Value New Value
          Assignee Steve Loughran [ steve_l ]
          Steve Loughran made changes -
          Attachment HADOOP-6221.patch [ 12428916 ]
          Steve Loughran made changes -
          Summary RPC.WaitForProxy swallows InterruptedException Make it possible to interrupt RPC Client operations
          Steve Loughran made changes -
          Link This issue relates to HADOOP-3457 [ HADOOP-3457 ]
          Steve Loughran made changes -
          Attachment HADOOP-6221.patch [ 12431866 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.21.0 [ 12313563 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Steve Loughran made changes -
          Link This issue incorporates HADOOP-3457 [ HADOOP-3457 ]
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Steve Loughran made changes -
          Attachment HADOOP-6221.patch [ 12434950 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Steve Loughran made changes -
          Attachment HADOOP-6221.patch [ 12434971 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Gavin made changes -
          Reporter Steve Loughran [ steve_l ] Steve Loughran [ stevel@apache.org ]
          Gavin made changes -
          Assignee Steve Loughran [ steve_l ] Steve Loughran [ stevel@apache.org ]
          Nigel Daley made changes -
          Fix Version/s 0.22.0 [ 12314296 ]
          Steve Loughran made changes -
          Attachment HADOOP-6221.patch [ 12468404 ]
          Steve Loughran made changes -
          Hadoop Flags [Incompatible change]
          Priority Major [ 3 ] Minor [ 4 ]
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Steve Loughran made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Steve Loughran made changes -
          Link This issue is duplicated by HADOOP-8641 [ HADOOP-8641 ]
          Vinayakumar B made changes -
          Attachment HADOOP-6221.patch [ 12539301 ]
          Steve Loughran made changes -
          Link This issue is related to HADOOP-9107 [ HADOOP-9107 ]
          Steve Loughran made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 2.7.0 [ 12327583 ]
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Steve Loughran made changes -
          Attachment HADOOP-6221-007.patch [ 12694440 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Steve Loughran made changes -
          Summary Make it possible to interrupt RPC Client operations RPC Client operations cannot be interrupted
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Steve Loughran made changes -
          Attachment HADOOP-6221-008.patch [ 12694520 ]
          Steve Loughran made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Steve Loughran made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 2.7.0 [ 12327583 ]
          Resolution Fixed [ 1 ]
          Vinod Kumar Vavilapalli made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development