@InterfaceAudience.Private public class SecureBulkLoadClient extends Object
Modifier and Type | Field and Description |
---|---|
private RpcControllerFactory |
rpcControllerFactory |
private Table |
table |
Constructor and Description |
---|
SecureBulkLoadClient(org.apache.hadoop.conf.Configuration conf,
Table table) |
Modifier and Type | Method and Description |
---|---|
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.
|
private final RpcControllerFactory rpcControllerFactory
public SecureBulkLoadClient(org.apache.hadoop.conf.Configuration conf, Table table)
public String prepareBulkLoad(Connection conn) throws IOException
IOException
public void cleanupBulkLoad(Connection conn, String bulkToken) throws IOException
IOException
public 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
- IOException
public 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
- IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.