public class TestRSGroupsWithACL extends SecureTestUtil
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static String |
GROUP_ADMIN |
private static String |
GROUP_CREATE |
private static String |
GROUP_READ |
private static String |
GROUP_WRITE |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint |
rsGroupAdminEndpoint |
private static org.apache.hadoop.hbase.security.User |
SUPERUSER |
private static org.apache.hadoop.hbase.client.Connection |
systemUserConnection |
private static byte[] |
TEST_FAMILY |
private static org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private static HBaseTestingUtility |
TEST_UTIL |
private static org.apache.hadoop.hbase.security.User |
USER_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_CREATE |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_ADMIN |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_CREATE |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_READ |
private static org.apache.hadoop.hbase.security.User |
USER_GROUP_WRITE |
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 |
|---|
TestRSGroupsWithACL() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
cleanUp() |
private static void |
configureRSGroupAdminEndpoint(org.apache.hadoop.conf.Configuration conf) |
static void |
setupBeforeClass() |
private static void |
setUpTableAndUserPermissions() |
static void |
tearDownAfterClass() |
void |
testAddRSGroup() |
void |
testBalanceRSGroup() |
void |
testGetRSGroupInfo() |
void |
testGetRSGroupInfoOfServer() |
void |
testGetRSGroupInfoOfTable() |
void |
testListRSGroup() |
void |
testMoveServers() |
void |
testMoveServersAndTables() |
void |
testMoveTables() |
void |
testRemoveRSGroup() |
void |
testRenameRSGroup() |
checkGlobalPerms, checkTablePerms, checkTablePerms, configureSuperuser, convertToNamespace, createNamespace, 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, verifyIfNullpublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.hbase.TableName TEST_TABLE
private static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.client.Connection systemUserConnection
private static org.apache.hadoop.hbase.security.User SUPERUSER
private static org.apache.hadoop.hbase.security.User USER_ADMIN
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_OWNER
private static org.apache.hadoop.hbase.security.User USER_CREATE
private static org.apache.hadoop.hbase.security.User USER_NONE
private static final String GROUP_ADMIN
private static final String GROUP_CREATE
private static final String GROUP_READ
private static final String GROUP_WRITE
private static org.apache.hadoop.hbase.security.User USER_GROUP_ADMIN
private static org.apache.hadoop.hbase.security.User USER_GROUP_CREATE
private static org.apache.hadoop.hbase.security.User USER_GROUP_READ
private static org.apache.hadoop.hbase.security.User USER_GROUP_WRITE
private static byte[] TEST_FAMILY
private static org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint rsGroupAdminEndpoint
public TestRSGroupsWithACL()
public static void setupBeforeClass() throws Exception
Exceptionprivate static void setUpTableAndUserPermissions() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprivate static void configureRSGroupAdminEndpoint(org.apache.hadoop.conf.Configuration conf)
public void testGetRSGroupInfo() throws Exception
Exceptionpublic void testGetRSGroupInfoOfTable() throws Exception
Exceptionpublic void testMoveServers() throws Exception
Exceptionpublic void testMoveTables() throws Exception
Exceptionpublic void testAddRSGroup() throws Exception
Exceptionpublic void testRemoveRSGroup() throws Exception
Exceptionpublic void testBalanceRSGroup() throws Exception
Exceptionpublic void testListRSGroup() throws Exception
Exceptionpublic void testGetRSGroupInfoOfServer() throws Exception
Exceptionpublic void testMoveServersAndTables() throws Exception
Exceptionpublic void testRenameRSGroup() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.