public abstract class TaskHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HiveConf |
conf |
protected long |
defaultRetention |
protected FSRemover |
fsRemover |
protected MetadataCache |
metadataCache |
protected boolean |
metricsEnabled |
protected TxnStore |
txnHandler |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
cleanAndVerifyObsoleteDirectories(CompactionInfo info,
String location,
ValidReaderWriteIdList validWriteIdList,
org.apache.hadoop.hive.metastore.api.Table table) |
abstract List<Runnable> |
getTasks() |
protected ValidReaderWriteIdList |
getValidCleanerWriteIdList(CompactionInfo info,
ValidTxnList validTxnList) |
protected void |
handleCleanerAttemptFailure(CompactionInfo info,
String errorMessage) |
protected org.apache.hadoop.hive.metastore.api.Partition |
resolvePartition(String dbName,
String tableName,
String partName) |
protected org.apache.hadoop.hive.metastore.api.Table |
resolveTable(String dbName,
String tableName) |
protected final TxnStore txnHandler
protected final HiveConf conf
protected final boolean metricsEnabled
protected final MetadataCache metadataCache
protected final FSRemover fsRemover
protected final long defaultRetention
public abstract List<Runnable> getTasks() throws org.apache.hadoop.hive.metastore.api.MetaException
protected org.apache.hadoop.hive.metastore.api.Table resolveTable(String dbName, String tableName) throws org.apache.hadoop.hive.metastore.api.MetaException
protected org.apache.hadoop.hive.metastore.api.Partition resolvePartition(String dbName, String tableName, String partName) throws org.apache.hadoop.hive.metastore.api.MetaException
protected ValidReaderWriteIdList getValidCleanerWriteIdList(CompactionInfo info, ValidTxnList validTxnList) throws org.apache.hadoop.hive.metastore.api.NoSuchTxnException, org.apache.hadoop.hive.metastore.api.MetaException
protected boolean cleanAndVerifyObsoleteDirectories(CompactionInfo info, String location, ValidReaderWriteIdList validWriteIdList, org.apache.hadoop.hive.metastore.api.Table table) throws org.apache.hadoop.hive.metastore.api.MetaException, IOException
protected void handleCleanerAttemptFailure(CompactionInfo info, String errorMessage) throws org.apache.hadoop.hive.metastore.api.MetaException
Copyright © 2024 The Apache Software Foundation. All rights reserved.