public class BulkImporter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BulkImporter.AssignmentStats |
Constructor and Description |
---|
BulkImporter(ClientContext context,
long tid,
String tableId,
boolean setTime) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
bulkLoad(ClientContext context,
long tid,
String tableId,
List<String> files,
String errorDir,
boolean setTime) |
static List<TabletLocator.TabletLocation> |
findOverlappingTablets(ClientContext context,
VolumeManager fs,
TabletLocator locator,
org.apache.hadoop.fs.Path file) |
static List<TabletLocator.TabletLocation> |
findOverlappingTablets(ClientContext context,
VolumeManager fs,
TabletLocator locator,
org.apache.hadoop.fs.Path file,
KeyExtent failed) |
static List<TabletLocator.TabletLocation> |
findOverlappingTablets(ClientContext context,
VolumeManager vm,
TabletLocator locator,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.Text startRow,
org.apache.hadoop.io.Text endRow) |
protected static org.apache.hadoop.io.Text |
getStartRowForExtent(KeyExtent extent) |
BulkImporter.AssignmentStats |
importFiles(List<String> files,
org.apache.hadoop.fs.Path failureDir) |
public BulkImporter(ClientContext context, long tid, String tableId, boolean setTime)
public static List<String> bulkLoad(ClientContext context, long tid, String tableId, List<String> files, String errorDir, boolean setTime) throws IOException, AccumuloException, AccumuloSecurityException, ThriftTableOperationException
public BulkImporter.AssignmentStats importFiles(List<String> files, org.apache.hadoop.fs.Path failureDir) throws IOException, AccumuloException, AccumuloSecurityException, ThriftTableOperationException
public static List<TabletLocator.TabletLocation> findOverlappingTablets(ClientContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file) throws Exception
Exception
public static List<TabletLocator.TabletLocation> findOverlappingTablets(ClientContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file, KeyExtent failed) throws Exception
Exception
protected static org.apache.hadoop.io.Text getStartRowForExtent(KeyExtent extent)
public static List<TabletLocator.TabletLocation> findOverlappingTablets(ClientContext context, VolumeManager vm, TabletLocator locator, org.apache.hadoop.fs.Path file, org.apache.hadoop.io.Text startRow, org.apache.hadoop.io.Text endRow) throws Exception
Exception
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.