Class TestEncryptionKeyRotation
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestEncryptionKeyRotation
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.apache.hadoop.conf.Configuration
private static final Key
org.junit.rules.TestName
private static final Key
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
createTableAndFlush
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) 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
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
conf
-
initialCFKey
-
secondCFKey
-
name
-
-
Constructor Details
-
TestEncryptionKeyRotation
public TestEncryptionKeyRotation()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testCFKeyRotation
- Throws:
Exception
-
testMasterKeyRotation
- Throws:
Exception
-
findStorefilePaths
private static List<org.apache.hadoop.fs.Path> findStorefilePaths(org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
findCompactedStorefilePaths
private static List<org.apache.hadoop.fs.Path> findCompactedStorefilePaths(org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
createTableAndFlush
private void createTableAndFlush(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) throws Exception - Throws:
Exception
-
extractHFileKey
- Throws:
Exception
-