HBASE-22177 Do not recreate IOException in RawAsyncHBaseAdmin.adminCall

This commit is contained in:
zhangduo 2019-04-06 22:11:17 +08:00 committed by Apache9
parent b1525ed85e
commit 0ca97d482a
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ class RawAsyncHBaseAdmin implements AsyncAdmin {
@Override
public void run(PRESP resp) {
if (controller.failed()) {
future.completeExceptionally(new IOException(controller.errorText()));
future.completeExceptionally(controller.getFailed());
} else {
try {
future.complete(respConverter.convert(resp));