public class AcidCompactionService extends CompactionService
collectGenericStats, compactorFactory, computeStats, conf, msc| Constructor and Description |
|---|
AcidCompactionService(HiveConf conf,
IMetaStoreClient msc,
CompactorFactory compactorFactory,
boolean collectGenericStats,
boolean collectMrStats) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupResultDirs(CompactionInfo ci) |
Boolean |
compact(org.apache.hadoop.hive.metastore.api.Table table,
CompactionInfo ci) |
static boolean |
needsCleaning(AcidDirectory dir,
org.apache.hadoop.hive.metastore.api.StorageDescriptor sd)
Check for obsolete directories, and return true if any exist and Cleaner should be
run.
|
failCompactionIfSetForTest, init, isComputeStats, isDynPartAbort, isTableSortedpublic AcidCompactionService(HiveConf conf, IMetaStoreClient msc, CompactorFactory compactorFactory, boolean collectGenericStats, boolean collectMrStats)
public void cleanupResultDirs(CompactionInfo ci)
cleanupResultDirs in class CompactionServicepublic Boolean compact(org.apache.hadoop.hive.metastore.api.Table table, CompactionInfo ci) throws Exception
compact in class CompactionServiceExceptionpublic static boolean needsCleaning(AcidDirectory dir, org.apache.hadoop.hive.metastore.api.StorageDescriptor sd)
Copyright © 2024 The Apache Software Foundation. All rights reserved.