Repository: hbase Updated Branches: refs/heads/branch-1 9bf5bc198 -> 51cb53776
HBASE-18021 Add more info in timed out RetriesExhaustedException for read replica client get processing (Huaxiang Sun) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/51cb5377 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/51cb5377 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/51cb5377 Branch: refs/heads/branch-1 Commit: 51cb53776de413c3f2b4b481a0798f428680ac6b Parents: 9bf5bc1 Author: Michael Stack <st...@apache.org> Authored: Thu May 11 17:23:43 2017 -0700 Committer: Michael Stack <st...@apache.org> Committed: Thu May 11 17:24:26 2017 -0700 ---------------------------------------------------------------------- .../hadoop/hbase/client/RpcRetryingCallerWithReadReplicas.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/51cb5377/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerWithReadReplicas.java ---------------------------------------------------------------------- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerWithReadReplicas.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerWithReadReplicas.java index 6630457..8c5efde 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerWithReadReplicas.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerWithReadReplicas.java @@ -235,7 +235,9 @@ public class RpcRetryingCallerWithReadReplicas { Future<Result> f = cs.pollForFirstSuccessfullyCompletedTask(operationTimeout, TimeUnit.MILLISECONDS, startIndex, endIndex); if (f == null) { - throw new RetriesExhaustedException("timed out after " + operationTimeout + " ms"); + throw new RetriesExhaustedException("Timed out after " + operationTimeout + + "ms. Get is sent to replicas with startIndex: " + startIndex + + ", endIndex: " + endIndex + ", Locations: " + rl); } return f.get(); } catch (ExecutionException e) {