HBASE-22177 Do not recreate IOException in RawAsyncHBaseAdmin.adminCall
This commit is contained in:
parent
b1525ed85e
commit
0ca97d482a
|
@ -406,7 +406,7 @@ class RawAsyncHBaseAdmin implements AsyncAdmin {
|
||||||
@Override
|
@Override
|
||||||
public void run(PRESP resp) {
|
public void run(PRESP resp) {
|
||||||
if (controller.failed()) {
|
if (controller.failed()) {
|
||||||
future.completeExceptionally(new IOException(controller.errorText()));
|
future.completeExceptionally(controller.getFailed());
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
future.complete(respConverter.convert(resp));
|
future.complete(respConverter.convert(resp));
|
||||||
|
|
Loading…
Reference in New Issue