public static class TestAccessController.BulkLoadHelper extends Object
| Modifier and Type | Field and Description | 
|---|---|
private org.apache.hadoop.conf.Configuration | 
conf  | 
private org.apache.hadoop.fs.FileSystem | 
fs  | 
private org.apache.hadoop.fs.Path | 
loadPath  | 
| Constructor and Description | 
|---|
BulkLoadHelper(org.apache.hadoop.fs.Path loadPath)  | 
| Modifier and Type | Method and Description | 
|---|---|
private 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)  | 
private TestAccessController.BulkLoadHelper | 
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)  | 
private final org.apache.hadoop.fs.FileSystem fs
private final org.apache.hadoop.fs.Path loadPath
private final org.apache.hadoop.conf.Configuration conf
public BulkLoadHelper(org.apache.hadoop.fs.Path loadPath) throws IOException
IOExceptionprivate void createHFile(org.apache.hadoop.fs.Path path, byte[] family, byte[] qualifier, byte[] startKey, byte[] endKey, int numRows) throws IOException
IOExceptionprivate TestAccessController.BulkLoadHelper initHFileData(byte[] family, byte[] qualifier, byte[][][] hfileRanges, int numRowsPerRange, org.apache.hadoop.fs.permission.FsPermission filePermission) throws Exception
Exceptionprivate void bulkLoadHFile(org.apache.hadoop.hbase.TableName tableName) throws Exception
Exceptionprivate static void setPermission(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir, org.apache.hadoop.fs.permission.FsPermission perm) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.