From 4e77b18da2515a14772a456f408ee34376a3c71f Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Fri, 3 Feb 2017 16:50:19 -0500 Subject: [PATCH] HBASE-17592 Fix rpcTimeout typo (Attila Sasvari) --- .../src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java | 2 +- .../main/java/org/apache/hadoop/hbase/ipc/RpcConnection.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java index 2ee141ceb20..44e98fecb6e 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java @@ -176,7 +176,7 @@ class IPCUtil { static void setCancelled(Call call) { call.setException(new CallCancelledException("Call id=" + call.id + ", waitTime=" - + (EnvironmentEdgeManager.currentTime() - call.getStartTime()) + ", rpcTimetout=" + + (EnvironmentEdgeManager.currentTime() - call.getStartTime()) + ", rpcTimeout=" + call.timeout)); } } diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcConnection.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcConnection.java index c9002e793ed..b5a79591ad0 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcConnection.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcConnection.java @@ -193,7 +193,7 @@ abstract class RpcConnection { @Override public void run(Timeout timeout) throws Exception { call.setTimeout(new CallTimeoutException("Call id=" + call.id + ", waitTime=" - + (EnvironmentEdgeManager.currentTime() - call.getStartTime()) + ", rpcTimetout=" + + (EnvironmentEdgeManager.currentTime() - call.getStartTime()) + ", rpcTimeout=" + call.timeout)); callTimeout(call); }