Package org.apache.hadoop.hbase.client
Class SnapshotWithAclTestBase
java.lang.Object
org.apache.hadoop.hbase.security.access.SecureTestUtil
org.apache.hadoop.hbase.client.SnapshotWithAclTestBase
- Direct Known Subclasses:
TestSnapshotWithAcl
,TestSnapshotWithAclAsyncAdmin
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) final class
(package private) static class
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.security.access.SecureTestUtil
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static byte[]
private static byte[]
private static byte[]
private org.apache.hadoop.hbase.TableName
protected static HBaseTestingUtil
private static org.apache.hadoop.hbase.security.User
private static org.apache.hadoop.hbase.security.User
private static org.apache.hadoop.hbase.security.User
private static org.apache.hadoop.hbase.security.User
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
cloneSnapshot
(String snapshotName, org.apache.hadoop.hbase.TableName tableName, boolean restoreAcl) private void
loadData()
protected abstract void
restoreSnapshot
(String snapshotName, boolean takeFailSafeSnapshot, boolean restoreAcl) void
setUp()
static void
protected abstract void
static void
void
void
private void
verifyRows
(org.apache.hadoop.hbase.TableName tableName) Methods inherited from class org.apache.hadoop.hbase.security.access.SecureTestUtil
checkGlobalPerms, checkTablePerms, checkTablePerms, configureSuperuser, convertToNamespace, createNamespace, createTable, createTable, createTable, createTable, createTable, createTable, createTable, deleteNamespace, deleteTable, deleteTable, enableSecurity, grantGlobal, grantGlobal, grantGlobalUsingAccessControlClient, grantOnNamespace, grantOnNamespace, grantOnNamespaceUsingAccessControlClient, grantOnTable, grantOnTable, grantOnTableUsingAccessControlClient, revokeFromNamespace, revokeFromNamespace, revokeFromNamespaceUsingAccessControlClient, revokeFromTable, revokeFromTable, revokeFromTableUsingAccessControlClient, revokeGlobal, revokeGlobal, revokeGlobalUsingAccessControlClient, verifyAllowed, verifyAllowed, verifyAllowed, verifyConfiguration, verifyDenied, verifyDenied, verifyIfEmptyList, verifyIfNull
-
Field Details
-
TEST_TABLE
-
ROW_COUNT
- See Also:
-
TEST_FAMILY
-
TEST_QUALIFIER
-
TEST_ROW
-
TEST_UTIL
-
USER_OWNER
-
USER_RW
-
USER_RO
-
USER_NONE
-
-
Constructor Details
-
SnapshotWithAclTestBase
public SnapshotWithAclTestBase()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
loadData
- Throws:
IOException
-
tearDownAfterClass
- Throws:
Exception
-
verifyRows
- Throws:
IOException
-
snapshot
protected abstract void snapshot(String snapshotName, org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
cloneSnapshot
protected abstract void cloneSnapshot(String snapshotName, org.apache.hadoop.hbase.TableName tableName, boolean restoreAcl) throws Exception - Throws:
Exception
-
restoreSnapshot
protected abstract void restoreSnapshot(String snapshotName, boolean takeFailSafeSnapshot, boolean restoreAcl) throws Exception - Throws:
Exception
-
testRestoreSnapshot
- Throws:
Exception
-
testDeleteSnapshot
- Throws:
Exception
-