HBASE-22177 Do not recreate IOException in RawAsyncHBaseAdmin.adminCall
This commit is contained in:
parent
86def710ac
commit
2f05376687
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue