public class AcidMetricService extends Object implements MetastoreTaskThread
MetastoreConf.ConfVars#METRICS_ENABLED and
MetastoreConf.ConfVars#METASTORE_ACIDMETRICS_THREAD_ON.| Modifier and Type | Field and Description |
|---|---|
static String |
OBJECT_NAME_PREFIX |
| Constructor and Description |
|---|
AcidMetricService() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
static String |
replaceWhitespace(String input) |
void |
run() |
long |
runFrequency(TimeUnit unit) |
void |
setConf(org.apache.hadoop.conf.Configuration configuration) |
static void |
updateMetricsFromCleaner(String dbName,
String tableName,
String partitionName,
List<org.apache.hadoop.fs.Path> deletedFiles,
org.apache.hadoop.conf.Configuration conf,
TxnStore txnHandler) |
static void |
updateMetricsFromInitiator(String dbName,
String tableName,
String partitionName,
org.apache.hadoop.conf.Configuration conf,
TxnStore txnHandler,
long baseSize,
Map<org.apache.hadoop.fs.Path,Long> activeDeltaSizes,
List<org.apache.hadoop.fs.Path> obsoleteDeltaPaths) |
static void |
updateMetricsFromShowCompact(ShowCompactResponse showCompactResponse) |
static void |
updateMetricsFromWorker(String dbName,
String tableName,
String partitionName,
CompactionType type,
int preWorkerActiveDeltaCount,
int preWorkerDeleteDeltaCount,
org.apache.hadoop.conf.Configuration conf,
IMetaStoreClient client) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialDelaypublic static final String OBJECT_NAME_PREFIX
public long runFrequency(TimeUnit unit)
runFrequency in interface MetastoreTaskThreadpublic static void updateMetricsFromInitiator(String dbName, String tableName, String partitionName, org.apache.hadoop.conf.Configuration conf, TxnStore txnHandler, long baseSize, Map<org.apache.hadoop.fs.Path,Long> activeDeltaSizes, List<org.apache.hadoop.fs.Path> obsoleteDeltaPaths)
public static void updateMetricsFromWorker(String dbName, String tableName, String partitionName, CompactionType type, int preWorkerActiveDeltaCount, int preWorkerDeleteDeltaCount, org.apache.hadoop.conf.Configuration conf, IMetaStoreClient client)
public static void updateMetricsFromCleaner(String dbName, String tableName, String partitionName, List<org.apache.hadoop.fs.Path> deletedFiles, org.apache.hadoop.conf.Configuration conf, TxnStore txnHandler)
public static void updateMetricsFromShowCompact(ShowCompactResponse showCompactResponse)
public void setConf(org.apache.hadoop.conf.Configuration configuration)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2024 The Apache Software Foundation. All rights reserved.