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:
nkeywal 2013-08-08 16:27:28 +00:00
parent d040e9cbd9
commit b94a48d104
1 changed files with 3 additions and 1 deletions

View File

@ -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() {