@InterfaceAudience.Private public class SecureBulkLoadClient extends Object
构造器和说明 |
---|
SecureBulkLoadClient(Table table) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken,
byte[] startRow)
已过时。
|
boolean |
bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken,
byte[] startRow,
List<String> clusterIds) |
void |
cleanupBulkLoad(String bulkToken) |
org.apache.hadoop.fs.Path |
getStagingPath(String bulkToken,
byte[] family) |
String |
prepareBulkLoad(TableName tableName) |
public SecureBulkLoadClient(Table table)
public String prepareBulkLoad(TableName tableName) throws IOException
IOException
public void cleanupBulkLoad(String bulkToken) throws IOException
IOException
public boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, byte[] startRow) throws IOException
familyPaths
- userToken
- bulkToken
- startRow
- IOException
public boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, byte[] startRow, List<String> clusterIds) throws IOException
IOException
public org.apache.hadoop.fs.Path getStagingPath(String bulkToken, byte[] family) throws IOException
IOException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.