public class TestZooKeeperACL extends Object
Constructor and Description |
---|
TestZooKeeperACL() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testHBaseIDZNodeACL()
When authentication is enabled on Zookeeper, /hbase/hbaseid should be
created with 2 ACLs: one specifies that the hbase user has full access
to the node; the other, that it is world-readable.
|
void |
testHBaseMasterServerZNodeACL()
When authentication is enabled on Zookeeper, /hbase/master should be
created with 2 ACLs: one specifies that the hbase user has full access
to the node; the other, that it is world-readable.
|
void |
testHBaseRootRegionServerZNodeACL()
When authentication is enabled on Zookeeper, /hbase/root-region-server
should be created with 2 ACLs: one specifies that the hbase user has
full access to the node; the other, that it is world-readable.
|
void |
testHBaseRootZNodeACL()
Create a node and check its ACL.
|
void |
testIsZooKeeperSecure()
Check if ZooKeeper JaasConfiguration is valid.
|
void |
testOutsideHBaseNodeACL()
Finally, we check the ACLs of a node outside of the /hbase hierarchy and
verify that its ACL is simply 'hbase:Perms.ALL'.
|
public void testHBaseRootZNodeACL() throws Exception
Exception
public void testHBaseRootRegionServerZNodeACL() throws Exception
Exception
public void testHBaseMasterServerZNodeACL() throws Exception
Exception
public void testHBaseIDZNodeACL() throws Exception
Exception
public void testOutsideHBaseNodeACL() throws Exception
Exception