hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [5/5] hbase git commit: HBASE-13901 Error while calling watcher on creating and deleting an HBase table
Date Mon, 15 Jun 2015 18:35:27 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/85909c81
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/85909c81
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/85909c81

Branch: refs/heads/0.98
Commit: 85909c811220ac18c0317f57853b4587677d0d71
Parents: 2631f70
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:32 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/85909c81/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 46645a7..4a4ee1c 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