org.apache.hadoop.hbase.coprocessor
Class SecureBulkLoadClient
java.lang.Object
org.apache.hadoop.hbase.coprocessor.SecureBulkLoadClient
public class SecureBulkLoadClient
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureBulkLoadClient
public SecureBulkLoadClient(HTable table)
throws IOException
- Throws:
IOException
SecureBulkLoadClient
public SecureBulkLoadClient(HTable table,
byte[] startRow)
throws IOException
- Throws:
IOException
prepareBulkLoad
public String prepareBulkLoad(byte[] tableName)
throws IOException
- Throws:
IOException
cleanupBulkLoad
public void cleanupBulkLoad(String bulkToken)
throws IOException
- Throws:
IOException
bulkLoadHFiles
public boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken)
throws IOException
- Throws:
IOException
bulkLoadHFiles
public boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken,
boolean assignSeqNum)
throws IOException
- Throws:
IOException
getStagingPath
public org.apache.hadoop.fs.Path getStagingPath(String bulkToken,
byte[] family)
throws IOException
- Throws:
IOException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.