hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject [hbase] branch master updated: HBASE-22177 Do not recreate IOException in RawAsyncHBaseAdmin.adminCall
Date Sun, 07 Apr 2019 00:30:38 GMT
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 <zhangduo@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));


Mime
View raw message