hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-13768 ZooKeeper znodes are bootstrapped with insecure ACLs in a secure configuration (ADDENDUM for meta znode)
Date Tue, 02 Jun 2015 21:47:11 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 5f570733b -> 8defd4931


HBASE-13768 ZooKeeper znodes are bootstrapped with insecure ACLs in a secure configuration
(ADDENDUM for meta znode)


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

Branch: refs/heads/0.98
Commit: 8defd4931273f0f2f4c02be4d94bf2fc8691b812
Parents: 5f57073
Author: Enis Soztutar <enis@apache.org>
Authored: Tue Jun 2 14:43:26 2015 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Tue Jun 2 14:45:50 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java    | 1 +
 .../org/apache/hadoop/hbase/zookeeper/TestZooKeeperWatcher.java     | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8defd493/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
index 559c21f..76a8bfd 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
@@ -202,6 +202,7 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable
{
     // than service lookup case is not a recommended design pattern.
     return
         node.equals(baseZNode) ||
+        node.equals(metaServerZNode) ||
         node.equals(getMasterAddressZNode()) ||
         node.equals(clusterIdZNode)||
         node.equals(rsZNode) ||

http://git-wip-us.apache.org/repos/asf/hbase/blob/8defd493/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZooKeeperWatcher.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZooKeeperWatcher.java
b/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZooKeeperWatcher.java
index 8e36b2d..21d2612 100644
--- a/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZooKeeperWatcher.java
+++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZooKeeperWatcher.java
@@ -37,6 +37,7 @@ public class TestZooKeeperWatcher {
       "testIsClientReadable", null, false);
 
     assertTrue(watcher.isClientReadable(watcher.baseZNode));
+    assertTrue(watcher.isClientReadable(watcher.metaServerZNode));
     assertTrue(watcher.isClientReadable(watcher.getMasterAddressZNode()));
     assertTrue(watcher.isClientReadable(watcher.clusterIdZNode));
     assertTrue(watcher.isClientReadable(watcher.tableZNode));


Mime
View raw message