From 9e1470d8be1a8fc3aa1f4265a2fe1b8590cdc55c Mon Sep 17 00:00:00 2001 From: Guangxu Cheng Date: Tue, 17 Oct 2017 15:46:38 +0800 Subject: [PATCH] HBASE-18907 Methods missing rpc timeout parameter in HTable --- .../src/main/java/org/apache/hadoop/hbase/client/HTable.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java index c1890b382cc..a9ac2a77b45 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java @@ -1064,7 +1064,8 @@ public class HTable implements HTableInterface, RegionLocator { return null; } }; - rpcCallerFactory. newCaller().callWithRetries(callable, this.operationTimeout); + rpcCallerFactory. newCaller(rpcTimeout).callWithRetries(callable, + this.operationTimeout); } /** @@ -1361,7 +1362,8 @@ public class HTable implements HTableInterface, RegionLocator { } } }; - return rpcCallerFactory. newCaller().callWithRetries(callable, this.operationTimeout); + return rpcCallerFactory. newCaller(rpcTimeout).callWithRetries(callable, + this.operationTimeout); } /** -- 2.13.0