public class TestSnapshotWithAcl extends SecureTestUtil
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestSnapshotWithAcl.AccessReadAction |
(package private) static class |
TestSnapshotWithAcl.AccessWriteAction |
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.HBaseAdmin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static int |
ROW_COUNT |
private static byte[] |
TEST_FAMILY |
private static byte[] |
TEST_QUALIFIER |
private static byte[] |
TEST_ROW |
org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private static HBaseTestingUtility |
TEST_UTIL |
private static org.apache.hadoop.hbase.security.User |
USER_NONE |
private static org.apache.hadoop.hbase.security.User |
USER_OWNER |
private static org.apache.hadoop.hbase.security.User |
USER_RO |
private static org.apache.hadoop.hbase.security.User |
USER_RW |
Constructor and Description |
---|
TestSnapshotWithAcl() |
Modifier and Type | Method and Description |
---|---|
private void |
loadData() |
void |
setUp() |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testRestoreSnapshot() |
private void |
verifyRows(org.apache.hadoop.hbase.TableName tableName) |
checkGlobalPerms, checkTablePerms, checkTablePerms, checkTablePerms, checkTablePerms, configureSuperuser, convertToNamespace, createNamespace, createTable, createTable, createTable, createTable, createTable, deleteNamespace, deleteTable, deleteTable, enableSecurity, grantGlobal, grantGlobalUsingAccessControlClient, grantOnNamespace, grantOnNamespaceUsingAccessControlClient, grantOnTable, grantOnTableUsingAccessControlClient, revokeFromNamespace, revokeFromNamespaceUsingAccessControlClient, revokeFromTable, revokeFromTableUsingAccessControlClient, revokeGlobal, revokeGlobalUsingAccessControlClient, verifyAllowed, verifyAllowed, verifyAllowed, verifyConfiguration, verifyDenied, verifyDenied, verifyIfEmptyList, verifyIfNull
public static final HBaseClassTestRule CLASS_RULE
public org.apache.hadoop.hbase.TableName TEST_TABLE
private static final int ROW_COUNT
private static byte[] TEST_FAMILY
private static byte[] TEST_QUALIFIER
private static byte[] TEST_ROW
private static HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.client.HBaseAdmin admin
private static org.apache.hadoop.hbase.security.User USER_OWNER
private static org.apache.hadoop.hbase.security.User USER_RW
private static org.apache.hadoop.hbase.security.User USER_RO
private static org.apache.hadoop.hbase.security.User USER_NONE
public TestSnapshotWithAcl()
public static void setupBeforeClass() throws Exception
Exception
private void loadData() throws IOException
IOException
public static void tearDownAfterClass() throws Exception
Exception
private void verifyRows(org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
public void testRestoreSnapshot() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.