Package org.apache.hadoop.hbase.client
Class SecureBulkLoadClient
java.lang.Object
org.apache.hadoop.hbase.client.SecureBulkLoadClient
Client proxy for SecureBulkLoadProtocol
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSecureBulkLoadClient
(org.apache.hadoop.conf.Configuration conf, Table table) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanupBulkLoad
(Connection conn, String bulkToken) 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)
-
Field Details
-
table
-
rpcControllerFactory
-
-
Constructor Details
-
SecureBulkLoadClient
-
-
Method Details
-
prepareBulkLoad
- Throws:
IOException
-
cleanupBulkLoad
- Throws:
IOException
-
secureBulkLoadHFiles
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 IOExceptionSecurely bulk load a list of HFiles using client protocol.- Returns:
- true if all are loaded
- Throws:
IOException
-
secureBulkLoadHFiles
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 IOExceptionSecurely bulk load a list of HFiles using client protocol.- Returns:
- true if all are loaded
- Throws:
IOException
-
secureBulkLoadHFiles
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, List<String> clusterIds, boolean replicate) throws IOException- Throws:
IOException
-