public class TestZKSecretWatcher extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest |
private static class |
TestZKSecretWatcher.MockAbortable |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager |
KEY_MASTER |
private static TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest |
KEY_SLAVE |
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager |
KEY_SLAVE2 |
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager |
KEY_SLAVE3 |
private static org.slf4j.Logger |
LOG |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestZKSecretWatcher() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hbase.zookeeper.ZKWatcher |
newZK(org.apache.hadoop.conf.Configuration conf,
String name,
org.apache.hadoop.hbase.Abortable abort) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testKeyUpdate() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager KEY_MASTER
private static TestZKSecretWatcher.AuthenticationTokenSecretManagerForTest KEY_SLAVE
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager KEY_SLAVE2
private static org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager KEY_SLAVE3
public TestZKSecretWatcher()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testKeyUpdate() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.