You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2019/04/07 00:30:38 UTC
[hbase] branch master updated: HBASE-22177 Do not recreate
IOException in RawAsyncHBaseAdmin.adminCall
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 0ca97d4 HBASE-22177 Do not recreate IOException in RawAsyncHBaseAdmin.adminCall
0ca97d4 is described below
commit 0ca97d482a99b0bb078ca0d189aaee57d1893bfa
Author: zhangduo <zh...@apache.org>
AuthorDate: Sat Apr 6 22:11:17 2019 +0800
HBASE-22177 Do not recreate IOException in RawAsyncHBaseAdmin.adminCall
---
.../main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java
index 1eaaa88..8cd4588 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java
@@ -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));