public class Compactor extends Object implements Callable<CompactionStats>
Modifier and Type | Class and Description |
---|---|
static class |
Compactor.CompactionCanceledException |
static interface |
Compactor.CompactionEnv |
Modifier and Type | Field and Description |
---|---|
protected KeyExtent |
extent |
protected static Set<Compactor> |
runningCompactions |
protected Thread |
thread |
Constructor and Description |
---|
Compactor(AccumuloServerContext context,
Tablet tablet,
Map<FileRef,DataFileValue> files,
InMemoryMap imm,
FileRef outputFile,
boolean propogateDeletes,
Compactor.CompactionEnv env,
List<IteratorSetting> iterators,
int reason,
AccumuloConfiguration tableConfiguation) |
Modifier and Type | Method and Description |
---|---|
CompactionStats |
call() |
long |
getCompactorID() |
String |
getCurrentLocalityGroup() |
VolumeManager |
getFileSystem() |
protected Map<String,Set<ByteSequence>> |
getLocalityGroups(AccumuloConfiguration acuTableConf) |
static List<CompactionInfo> |
getRunningCompactions() |
public Compactor(AccumuloServerContext context, Tablet tablet, Map<FileRef,DataFileValue> files, InMemoryMap imm, FileRef outputFile, boolean propogateDeletes, Compactor.CompactionEnv env, List<IteratorSetting> iterators, int reason, AccumuloConfiguration tableConfiguation)
public long getCompactorID()
public String getCurrentLocalityGroup()
public static List<CompactionInfo> getRunningCompactions()
public VolumeManager getFileSystem()
protected Map<String,Set<ByteSequence>> getLocalityGroups(AccumuloConfiguration acuTableConf) throws IOException
IOException
public CompactionStats call() throws IOException, Compactor.CompactionCanceledException
call
in interface Callable<CompactionStats>
IOException
Compactor.CompactionCanceledException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.