You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Junhong Xu (JIRA)" <ji...@apache.org> on 2019/01/22 14:16:00 UTC
[jira] [Comment Edited] (HBASE-21715) Do not throw
UnsupportedOperationException in ProcedureFuture.get
[ https://issues.apache.org/jira/browse/HBASE-21715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748758#comment-16748758 ]
Junhong Xu edited comment on HBASE-21715 at 1/22/19 2:15 PM:
-------------------------------------------------------------
I would like to have a try to fix it, could you please assign to me?
was (Author: joseph295):
I would like to have a try to fix it, could you please assign me?
> Do not throw UnsupportedOperationException in ProcedureFuture.get
> -----------------------------------------------------------------
>
> Key: HBASE-21715
> URL: https://issues.apache.org/jira/browse/HBASE-21715
> Project: HBase
> Issue Type: Task
> Reporter: Duo Zhang
> Priority: Major
>
> This is really a bad practice, no one would expected that a Future does not support get, and this can not be detected at compile time. Even though we do not want user to wait for ever, we could set a long timeout, for example, 10 minutes,instead of throwing UnsuportedOperationException. I've already been hurt many times...
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)