public class TestEncryptionKeyRotation extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static Key |
initialCFKey |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static Key |
secondCFKey |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestEncryptionKeyRotation() |
Modifier and Type | Method and Description |
---|---|
private void |
createTableAndFlush(org.apache.hadoop.hbase.HTableDescriptor htd) |
private static byte[] |
extractHFileKey(org.apache.hadoop.fs.Path path) |
private static List<org.apache.hadoop.fs.Path> |
findCompactedStorefilePaths(org.apache.hadoop.hbase.TableName tableName) |
private static List<org.apache.hadoop.fs.Path> |
findStorefilePaths(org.apache.hadoop.hbase.TableName tableName) |
static void |
setUp() |
static void |
tearDown() |
void |
testCFKeyRotation() |
void |
testMasterKeyRotation() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.conf.Configuration conf
private static final Key initialCFKey
private static final Key secondCFKey
public org.junit.rules.TestName name
public TestEncryptionKeyRotation()
public void testCFKeyRotation() throws Exception
Exception
public void testMasterKeyRotation() throws Exception
Exception
private static List<org.apache.hadoop.fs.Path> findStorefilePaths(org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
private static List<org.apache.hadoop.fs.Path> findCompactedStorefilePaths(org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
private void createTableAndFlush(org.apache.hadoop.hbase.HTableDescriptor htd) throws Exception
Exception
private static byte[] extractHFileKey(org.apache.hadoop.fs.Path path) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.