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

chenxu commented on HBASE-23293:
--------------------------------

Code in AbstractRpcChannel#configureRpcController like this
{code:java}
protected HBaseRpcController configureRpcController(RpcController controller) {
  ...
  if (controller != null && controller instanceof HBaseRpcController) {
    hrc = (HBaseRpcController) controller;
    if (!hrc.hasCallTimeout()) {
      hrc.setCallTimeout(rpcTimeout);
    }
  } else {
    hrc = new HBaseRpcControllerImpl();
    hrc.setCallTimeout(rpcTimeout);
  }
  return hrc;
}
{code}
Seems rpcTimeout will be used as the default value, if we don't specify a 
timeout. [~wchevreuil]

> [REPLICATION] make ship edits timeout configurable
> --------------------------------------------------
>
>                 Key: HBASE-23293
>                 URL: https://issues.apache.org/jira/browse/HBASE-23293
>             Project: HBase
>          Issue Type: Improvement
>          Components: Replication
>            Reporter: chenxu
>            Assignee: chenxu
>            Priority: Minor
>
> ReplicationSourceShipper#shipEdits may take a while if bulkload replication 
> enabled, since we should copy HFile from the source cluster, so i think there 
> is a need to make the timeout value configurable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to