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() |
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
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
Exception
private static void setUpTableAndUserPermissions() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
private static void configureRSGroupAdminEndpoint(org.apache.hadoop.conf.Configuration conf)
public void testGetRSGroupInfo() throws Exception
Exception
public void testGetRSGroupInfoOfTable() throws Exception
Exception
public void testMoveServers() throws Exception
Exception
public void testMoveTables() throws Exception
Exception
public void testAddRSGroup() throws Exception
Exception
public void testRemoveRSGroup() throws Exception
Exception
public void testBalanceRSGroup() throws Exception
Exception
public void testListRSGroup() throws Exception
Exception
public void testGetRSGroupInfoOfServer() throws Exception
Exception
public void testMoveServersAndTables() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.