HBASE-22177 Do not recreate IOException in RawAsyncHBaseAdmin.adminCall

This commit is contained in:
zhangduo 2019-04-06 22:11:17 +08:00
parent 86def710ac
commit 2f05376687
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,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));