Package | Description |
---|---|
org.apache.hadoop.hive.metastore.txn |
Modifier and Type | Method and Description |
---|---|
boolean |
TxnStore.checkFailedCompactions(CompactionInfo ci)
Determine if there are enough consecutive failures compacting a table or partition that no
new automatic compactions should be scheduled.
|
void |
TxnStore.countOpenTxns()
Get the count for open transactions.
|
List<String> |
TxnStore.findColumnsWithStats(CompactionInfo ci)
Queries metastore DB directly to find columns in the table which have statistics information.
|
CompactionInfo |
TxnStore.findNextToCompact(String workerId)
This will grab the next compaction request off of
the queue, and assign it to the worker.
|
Set<CompactionInfo> |
TxnStore.findPotentialCompactions(int maxAborted)
This will look through the completed_txn_components table and look for partitions or tables
that may be ready for compaction.
|
List<CompactionInfo> |
TxnStore.findReadyToClean()
Find entries in the queue that are ready to
be cleaned.
|
org.apache.hadoop.hive.metastore.api.GetOpenTxnsResponse |
TxnStore.getOpenTxns()
Get list of valid transactions.
|
org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse |
TxnStore.getOpenTxnsInfo()
Get information about open transactions.
|
org.apache.hadoop.hive.metastore.api.GetValidWriteIdsResponse |
TxnStore.getValidWriteIds(org.apache.hadoop.hive.metastore.api.GetValidWriteIdsRequest rqst)
Gets the list of valid write ids for the given table wrt to current txn
|
org.apache.hadoop.hive.metastore.api.ShowCompactResponse |
TxnStore.showCompact(org.apache.hadoop.hive.metastore.api.ShowCompactRequest rqst)
Show list of current compactions.
|
org.apache.hadoop.hive.metastore.api.ShowLocksResponse |
TxnStore.showLocks(org.apache.hadoop.hive.metastore.api.ShowLocksRequest rqst)
Get information on current locks.
|
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.