hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [4/5] hbase git commit: HBASE-13901 Error while calling watcher on creating and deleting an HBase table
Date Mon, 15 Jun 2015 18:35:26 GMT
HBASE-13901 Error while calling watcher on creating and deleting an HBase table

Signed-off-by: Andrew Purtell <apurtell@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/573e4b4f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/573e4b4f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/573e4b4f

Branch: refs/heads/branch-1.0
Commit: 573e4b4f617dfabfa893cebe0dbc26105c9fd150
Parents: 71baa89
Author: Ashish Singhi <ashish.singhi@huawei.com>
Authored: Mon Jun 15 11:27:59 2015 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon Jun 15 11:28:25 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/573e4b4f/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
index 66b3014..be59a15 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
@@ -604,7 +604,7 @@ public class ZKUtil {
       return node;
     }
     public boolean isEmpty() {
-      return (data.length == 0);
+      return (data == null || data.length == 0);
     }
   }
 


Mime
View raw message