[ 
https://issues.apache.org/jira/browse/HBASE-21715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-21715:
------------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Pushed to branch-2.0+.

Thanks [~Joseph295] for contributing.

> 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
>            Assignee: Junhong Xu
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.1.3, 2.0.5
>
>         Attachments: HBase-21715.v01.patch, HBase-21715.v03.patch
>
>
> 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)

Reply via email to