@InterfaceAudience.Private public class SecureBulkLoadClient extends Object
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(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(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
IOException
public void cleanupBulkLoad(Connection conn, String bulkToken) throws IOException
IOException
public boolean secureBulkLoadHFiles(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(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 Cloudera. All rights reserved.