@InterfaceAudience.Private public class SecureBulkLoadClient extends Object
| 构造器和说明 |
|---|
SecureBulkLoadClient(org.apache.hadoop.conf.Configuration conf,
Table table) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanupBulkLoad(Connection conn,
String bulkToken) |
String |
prepareBulkLoad(Connection conn) |
boolean |
secureBulkLoadHFiles(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface client,
List<Pair<byte[],String>> familyPaths,
byte[] regionName,
boolean assignSeqNum,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken)
Securely bulk load a list of HFiles using client protocol.
|
boolean |
secureBulkLoadHFiles(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface client,
List<Pair<byte[],String>> familyPaths,
byte[] regionName,
boolean assignSeqNum,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken,
boolean copyFiles)
Securely bulk load a list of HFiles using client protocol.
|
public SecureBulkLoadClient(org.apache.hadoop.conf.Configuration conf,
Table table)
public String prepareBulkLoad(Connection conn) throws IOException
IOExceptionpublic void cleanupBulkLoad(Connection conn, String bulkToken) throws IOException
IOExceptionpublic boolean secureBulkLoadHFiles(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface client, List<Pair<byte[],String>> familyPaths, byte[] regionName, boolean assignSeqNum, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken) throws IOException
client - familyPaths - regionName - assignSeqNum - userToken - bulkToken - IOExceptionpublic boolean secureBulkLoadHFiles(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface client, List<Pair<byte[],String>> familyPaths, byte[] regionName, boolean assignSeqNum, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, boolean copyFiles) throws IOException
client - familyPaths - regionName - assignSeqNum - userToken - bulkToken - copyFiles - IOExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.