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.
|
GetOpenTxnsResponse |
TxnStore.getOpenTxns()
Get list of valid transactions.
|
GetOpenTxnsInfoResponse |
TxnStore.getOpenTxnsInfo()
Get information about open transactions.
|
GetValidWriteIdsResponse |
TxnStore.getValidWriteIds(GetValidWriteIdsRequest rqst)
Gets the list of valid write ids for the given table wrt to current txn
|
ShowCompactResponse |
TxnStore.showCompact(ShowCompactRequest rqst)
Show list of current compactions.
|
ShowLocksResponse |
TxnStore.showLocks(ShowLocksRequest rqst)
Get information on current locks.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.