public interface SecureBulkLoadProtocol extends CoprocessorProtocol
LoadIncrementalHFiles
with security enabled.VERSION
Modifier and Type | Method and Description |
---|---|
boolean |
bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken,
boolean assignSeqNum)
Secure version of HRegionServer.bulkLoadHFiles().
|
void |
cleanupBulkLoad(String bulkToken)
Cleanup after bulk load.
|
String |
prepareBulkLoad(byte[] tableName)
Prepare for bulk load.
|
getProtocolSignature, getProtocolVersion
String prepareBulkLoad(byte[] tableName) throws IOException
tableName
- IOException
void cleanupBulkLoad(String bulkToken) throws IOException
bulkToken
- IOException
boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, boolean assignSeqNum) throws IOException
familyPaths
- column family to HFile path pairsuserToken
- requesting user's HDFS delegation tokenbulkToken
- assignSeqId
- IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.