HBASE-18021 Add more info in timed out RetriesExhaustedException for read replica client get processing (Huaxiang Sun)
This commit is contained in:
parent
c833473619
commit
d64acfd304
|
@ -209,7 +209,9 @@ public class RpcRetryingCallerWithReadReplicas {
|
||||||
Future<Result> f = cs.pollForFirstSuccessfullyCompletedTask(operationTimeout,
|
Future<Result> f = cs.pollForFirstSuccessfullyCompletedTask(operationTimeout,
|
||||||
TimeUnit.MILLISECONDS, startIndex, endIndex);
|
TimeUnit.MILLISECONDS, startIndex, endIndex);
|
||||||
if (f == null) {
|
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();
|
return f.get();
|
||||||
} catch (ExecutionException e) {
|
} catch (ExecutionException e) {
|
||||||
|
|
Loading…
Reference in New Issue