Class TestSnapshotScannerHDFSAclController
java.lang.Object
org.apache.hadoop.hbase.security.access.TestSnapshotScannerHDFSAclController
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Table
private static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.fs.FileSystem
private static org.apache.hadoop.hbase.security.access.SnapshotScannerHDFSAclHelper
private static final org.slf4j.Logger
org.junit.rules.TestName
private static org.apache.hadoop.fs.Path
private static HBaseTestingUtil
private static final String
private static org.apache.hadoop.hbase.security.User
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static void
checkUserAclEntry
(org.apache.hadoop.fs.FileSystem fs, List<org.apache.hadoop.fs.Path> paths, String user, boolean requireAccessAcl, boolean requireDefaultAcl) (package private) static void
checkUserAclEntry
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, String userName, boolean requireAccessAcl, boolean requireDefaultAcl) (package private) static void
deleteTable
(org.apache.hadoop.hbase.TableName tableName) static void
private void
snapshotAndWait
(String snapShotName, org.apache.hadoop.hbase.TableName tableName) static void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
name
-
LOG
-
UN_GRANT_USER
- See Also:
-
TEST_UTIL
-
conf
-
admin
-
FS
-
rootDir
-
unGrantUser
-
helper
-
aclTable
-
-
Constructor Details
-
TestSnapshotScannerHDFSAclController
public TestSnapshotScannerHDFSAclController()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
snapshotAndWait
private void snapshotAndWait(String snapShotName, org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
testGrantGlobal1
- Throws:
Exception
-
testGrantGlobal2
- Throws:
Exception
-
testGrantGlobal3
- Throws:
Exception
-
testGrantNamespace1
- Throws:
Exception
-
testGrantNamespace2
- Throws:
Exception
-
testGrantNamespace3
- Throws:
Exception
-
testGrantTable
- Throws:
Exception
-
testGrantMobTable
- Throws:
Exception
-
testRevokeGlobal1
- Throws:
Exception
-
testRevokeGlobal2
- Throws:
Exception
-
testRevokeGlobal3
- Throws:
Exception
-
testRevokeNamespace1
- Throws:
Exception
-
testRevokeNamespace2
- Throws:
Exception
-
testRevokeTable1
- Throws:
Exception
-
testRevokeTable2
- Throws:
Exception
-
testRevokeTable3
- Throws:
Exception
-
testTruncateTable
- Throws:
Exception
-
testDeleteTable
- Throws:
Exception
-
testDeleteTable2
- Throws:
Exception
-
testDeleteNamespace
- Throws:
Exception
-
testCleanArchiveTableDir
- Throws:
Exception
-
testModifyTable1
- Throws:
Exception
-
testModifyTable2
- Throws:
Exception
-
testRestartMaster
- Throws:
Exception
-
checkUserAclEntry
static void checkUserAclEntry(org.apache.hadoop.fs.FileSystem fs, List<org.apache.hadoop.fs.Path> paths, String user, boolean requireAccessAcl, boolean requireDefaultAcl) throws Exception - Throws:
Exception
-
checkUserAclEntry
static void checkUserAclEntry(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, String userName, boolean requireAccessAcl, boolean requireDefaultAcl) throws IOException - Throws:
IOException
-
deleteTable
-