[
https://issues.apache.org/jira/browse/HBASE-16505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15458464#comment-15458464
]
Yu Li commented on HBASE-16505:
-------------------------------
{{RpcServerInterface}} is IA.LimitedPrivate, so I think we should add
TimeoutException but reserve ServiceException on the interface. Or please
clarify the reason for the below changes, thanks.
{code}
Pair<Message, CellScanner> call(BlockingService service, MethodDescriptor md,
Message param, CellScanner cellScanner, long receiveTime,
MonitoredRPCHandler status)
- throws IOException, ServiceException;
+ throws IOException, TimeoutException;
Pair<Message, CellScanner> call(BlockingService service, MethodDescriptor
md, Message param,
CellScanner cellScanner, long receiveTime, MonitoredRPCHandler status,
long startTime,
- int timeout) throws IOException, ServiceException;
+ int timeout) throws IOException, TimeoutException;
{code}
> Add AsyncRegion interface to pass deadline and support async operations
> -----------------------------------------------------------------------
>
> Key: HBASE-16505
> URL: https://issues.apache.org/jira/browse/HBASE-16505
> Project: HBase
> Issue Type: Sub-task
> Reporter: Phil Yang
> Assignee: Phil Yang
> Attachments: HBASE-16505-v1.patch, HBASE-16505-v2.patch
>
>
> If we want to know the correct setting of timeout in read/write path, we need
> add a new parameter in operation-methods of Region.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)