Class TestEncryptionKeyRotation
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestEncryptionKeyRotation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.apache.hadoop.conf.Configurationprivate static final Keyprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final Keyprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcreateTableAndFlush(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 voidsetUp()static voidtearDown()voidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
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
- Throws:
Exception
-
extractHFileKey
- Throws:
Exception
-