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

Use execute instead of submit to submit a task in RemoteProcedureDispatcher

    XMLWordPrintableJSON

Details

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: