org.apache.hadoop.hbase.client.coprocessor
Class SecureBulkLoadClient
java.lang.Object
org.apache.hadoop.hbase.client.coprocessor.SecureBulkLoadClient
public class SecureBulkLoadClient
- extends Object
Client proxy for SecureBulkLoadProtocol
used in conjunction with SecureBulkLoadEndpoint
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureBulkLoadClient
public SecureBulkLoadClient(HTable table)
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,
byte[] startRow)
throws IOException
- Throws:
IOException
getStagingPath
public org.apache.hadoop.fs.Path getStagingPath(String bulkToken,
byte[] family)
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.