HBASE-16611 Flakey org.apache.hadoop.hbase.client.TestReplicasClient.testCancelOfMultiGet
This commit is contained in:
parent
422734e73d
commit
cd9f422373
|
@ -756,7 +756,7 @@ class AsyncProcess {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
AbstractResponse res;
|
||||
AbstractResponse res = null;
|
||||
CancellableRegionServerCallable callable = currentCallable;
|
||||
try {
|
||||
// setup the callable based on the actions, if we don't have one already from the request
|
||||
|
@ -802,7 +802,7 @@ class AsyncProcess {
|
|||
throw new RuntimeException(t);
|
||||
} finally {
|
||||
decTaskCounters(multiAction.getRegions(), server);
|
||||
if (callsInProgress != null && callable != null) {
|
||||
if (callsInProgress != null && callable != null && res != null) {
|
||||
callsInProgress.remove(callable);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue