You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/02/13 12:04:00 UTC

[jira] [Commented] (HBASE-21890) Use execute instead of submit to submit a task in RemoteProcedureDispatcher

    [ https://issues.apache.org/jira/browse/HBASE-21890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767089#comment-16767089 ] 

Duo Zhang commented on HBASE-21890:
-----------------------------------

Ok we have delay task... So we have to eat the returned Future. Let me change to use ListenableFuture...

> Use execute instead of submit to submit a task in RemoteProcedureDispatcher
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-21890
>                 URL: https://issues.apache.org/jira/browse/HBASE-21890
>             Project: HBase
>          Issue Type: Bug
>          Components: proc-v2
>            Reporter: Duo Zhang
>            Priority: Critical
>             Fix For: 3.0.0, 2.2.0, 2.0.5, 2.3.0, 2.1.4
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)