Class TestAccessController.BulkLoadHelper
java.lang.Object
org.apache.hadoop.hbase.security.access.TestAccessController.BulkLoadHelper
- Enclosing class:
- TestAccessController
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
bulkLoadHFile
(org.apache.hadoop.hbase.TableName tableName) private void
createHFile
(org.apache.hadoop.fs.Path path, byte[] family, byte[] qualifier, byte[] startKey, byte[] endKey, int numRows) initHFileData
(byte[] family, byte[] qualifier, byte[][][] hfileRanges, int numRowsPerRange, org.apache.hadoop.fs.permission.FsPermission filePermission) private static void
setPermission
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir, org.apache.hadoop.fs.permission.FsPermission perm)
-
Field Details
-
fs
-
loadPath
-
conf
-
-
Constructor Details
-
BulkLoadHelper
- Throws:
IOException
-
-
Method Details
-
createHFile
private void createHFile(org.apache.hadoop.fs.Path path, byte[] family, byte[] qualifier, byte[] startKey, byte[] endKey, int numRows) throws IOException - Throws:
IOException
-
initHFileData
private TestAccessController.BulkLoadHelper initHFileData(byte[] family, byte[] qualifier, byte[][][] hfileRanges, int numRowsPerRange, org.apache.hadoop.fs.permission.FsPermission filePermission) throws Exception - Throws:
Exception
-
bulkLoadHFile
- Throws:
Exception
-
setPermission
private static void setPermission(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir, org.apache.hadoop.fs.permission.FsPermission perm) throws IOException - Throws:
IOException
-