Class TestSnapshotScannerHDFSAclController
java.lang.Object
org.apache.hadoop.hbase.security.access.TestSnapshotScannerHDFSAclController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Tableprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static org.apache.hadoop.fs.FileSystemprivate static org.apache.hadoop.hbase.security.access.SnapshotScannerHDFSAclHelperprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static org.apache.hadoop.fs.Pathprivate static HBaseTestingUtilityprivate static final Stringprivate static org.apache.hadoop.hbase.security.User -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidcheckUserAclEntry(org.apache.hadoop.fs.FileSystem fs, List<org.apache.hadoop.fs.Path> paths, String user, boolean requireAccessAcl, boolean requireDefaultAcl) (package private) static voidcheckUserAclEntry(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, String userName, boolean requireAccessAcl, boolean requireDefaultAcl) (package private) static voiddeleteTable(org.apache.hadoop.hbase.TableName tableName) static voidprivate voidsnapshotAndWait(String snapShotName, org.apache.hadoop.hbase.TableName tableName) static voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
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
-