HBASE-9156 2000ms timeout for some client calls
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1511853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d040e9cbd9
commit
b94a48d104
|
@ -66,12 +66,14 @@ public class RpcRetryingCaller<T> {
|
|||
private final int retries;
|
||||
|
||||
public RpcRetryingCaller(Configuration conf) {
|
||||
super();
|
||||
this.pause = conf.getLong(HConstants.HBASE_CLIENT_PAUSE,
|
||||
HConstants.DEFAULT_HBASE_CLIENT_PAUSE);
|
||||
this.retries =
|
||||
conf.getInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER,
|
||||
HConstants.DEFAULT_HBASE_CLIENT_RETRIES_NUMBER);
|
||||
this.callTimeout = conf.getInt(
|
||||
HConstants.HBASE_CLIENT_OPERATION_TIMEOUT,
|
||||
HConstants.DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT);
|
||||
}
|
||||
|
||||
private void beforeCall() {
|
||||
|
|
Loading…
Reference in New Issue