|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecureBulkLoadProtocol
Provides a secure way to bulk load data onto HBase
These are internal API. Bulk load should be initiated
via LoadIncrementalHFiles
with security enabled.
Field Summary |
---|
Fields inherited from interface org.apache.hadoop.hbase.ipc.CoprocessorProtocol |
---|
VERSION |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.apache.hadoop.hbase.ipc.VersionedProtocol |
---|
getProtocolSignature, getProtocolVersion |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |