diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java index b1c5d85aaff..2a08d02693b 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java @@ -2115,7 +2115,9 @@ public class HBaseAdmin implements Admin { // TODO: how long should we wait? Spin forever? return future.get(timeout, units); } catch (InterruptedException e) { - throw new InterruptedIOException("Interrupt while waiting on " + future); + IOException ioe = new InterruptedIOException("Interrupt while waiting on " + future); + ioe.initCause(e); + throw ioe; } catch (TimeoutException e) { throw new TimeoutIOException(e); } catch (ExecutionException e) { diff --git a/pom.xml b/pom.xml index 447b93f00d8..94962b44bfe 100755 --- a/pom.xml +++ b/pom.xml @@ -1445,7 +1445,7 @@ 3.1.11 2.12 1.0.1 - 2.1.0 + 2.2.0