hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Somogyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-19029) Align RPC timout methods in Table and AsyncTableBase
Date Tue, 17 Oct 2017 23:40:00 GMT

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

Peter Somogyi updated HBASE-19029:
----------------------------------
    Release Note: 
Deprecate the following methods in Table:
- int getRpcTimeout()
- int getReadRpcTimeout()
- int getWriteRpcTimeout()
- int getOperationTimeout()

Add the following methods to Table:
- long getRpcTimeout(TimeUnit)
- long getReadRpcTimeout(TimeUnit)
- long getWriteRpcTimeout(TimeUnit)
- long getOperationTimeout(TimeUnit)

Add missing deprecation tag for long getRpcTimeout(TimeUnit unit) in AsyncTableBase

> Align RPC timout methods in Table and AsyncTableBase
> ----------------------------------------------------
>
>                 Key: HBASE-19029
>                 URL: https://issues.apache.org/jira/browse/HBASE-19029
>             Project: HBase
>          Issue Type: Sub-task
>          Components: asyncclient, Client
>    Affects Versions: 2.0.0-alpha-3
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19029.master.001.patch
>
>
> Table and AsyncTableBase have similar RPC timeout methods but the async version supports
TimeUtils to be passed.
> To align these 2 interfaces lets depricate the existing methods in Table and add the
ones that are currently in AsyncTableBase.
> These methods are the following:
> * long getRpcTimeout(TimeUnit unit)
> * long getReadRpcTimeout(TimeUnit unit)
> * long getWriteRpcTimeout(TimeUnit unit)
> * long getOperationTimeout(TimeUnit unit)
> We do not have {{long getScanTimeout(TimeUnit unit)}} since scan is handled differently.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message