Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21890

Use execute instead of submit to submit a task in RemoteProcedureDispatcher

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0, 2.0.5, 2.3.0, 2.1.4
    • Component/s: proc-v2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Found this when implementing HBASE-21875, the UncaughtExceptionHandler will not be invoked if you use submit to submit the task, as by design, you should use the returned Future object to get the result(exception).

      As we do not care the return value here, let's change to use execute method.

        Attachments

        1. HBASE-21890.patch
          15 kB
          Duo Zhang
        2. HBASE-21890-v1.patch
          15 kB
          Duo Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                zhangduo Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: