@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. | 
| 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,
                    List<String> clusterIds,
                    boolean replicate) | 
private final RpcControllerFactory rpcControllerFactory
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 - 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, List<String> clusterIds, boolean replicate) throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.