hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nkey...@apache.org
Subject svn commit: r1511854 - /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
Date Thu, 08 Aug 2013 16:27:40 GMT
Author: nkeywal
Date: Thu Aug  8 16:27:40 2013
New Revision: 1511854

URL: http://svn.apache.org/r1511854
Log:
HBASE-9156  2000ms timeout for some client calls

Modified:
    hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java

Modified: hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java?rev=1511854&r1=1511853&r2=1511854&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
(original)
+++ hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
Thu Aug  8 16:27:40 2013
@@ -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() {



Mime
View raw message