HBASE-18021 Add more info in timed out RetriesExhaustedException for read replica client get processing (Huaxiang Sun)
This commit is contained in:
parent
9bf5bc1986
commit
51cb53776d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue