[ https://issues.apache.org/jira/browse/HIVE-24974?focusedWorklogId=586510&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-586510 ]
ASF GitHub Bot logged work on HIVE-24974: ----------------------------------------- Author: ASF GitHub Bot Created on: 21/Apr/21 12:00 Start Date: 21/Apr/21 12:00 Worklog Time Spent: 10m Work Description: klcopp commented on a change in pull request #2148: URL: https://github.com/apache/hive/pull/2148#discussion_r617468227 ########## File path: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java ########## @@ -3002,6 +3002,26 @@ private static void populateLlapDaemonVarsSet(Set<String> llapDaemonVarsSetLocal HIVE_TXN_READONLY_ENABLED("hive.txn.readonly.enabled", false, "Enables read-only transaction classification and related optimizations"), + // Configs having to do with DeltaFilesMetricReporter, which collects lists of most recently active tables + // with the most number of active/obsolete deltas. + HIVE_TXN_ACID_METRICS_MAX_CACHE_SIZE("hive.txn.acid.metrics.max.cache.size", 100, + "Size of the ACID metrics cache. Only topN metrics would remain in the cache if exceeded."), + HIVE_TXN_ACID_METRICS_CACHE_DURATION("hive.txn.acid.metrics.cache.duration", "7200s", + new TimeValidator(TimeUnit.SECONDS), + "Maximum lifetime in seconds for an entry in the ACID metrics cache."), + HIVE_TXN_ACID_METRICS_REPORTING_INTERVAL("hive.txn.acid.metrics.reporting.interval", "30s", + new TimeValidator(TimeUnit.SECONDS), + "Reporting period for ACID metrics in seconds."), + HIVE_TXN_ACID_METRICS_DELTA_NUM_THRESHOLD("hive.txn.acid.metrics.delta.num.threshold", 100, + "The minimum number of active delta files a table/partition must be included in the ACID metrics report."), Review comment: This is a bit more verbose and maybe more clear: The minimum number of active delta files a table/partition must have in order to be included in the ACID metrics report. (As in, a table/partition must have x number of files in order to be included :) ) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 586510) Time Spent: 1.5h (was: 1h 20m) > Create new metrics about the number of delta files in the ACID table > -------------------------------------------------------------------- > > Key: HIVE-24974 > URL: https://issues.apache.org/jira/browse/HIVE-24974 > Project: Hive > Issue Type: Sub-task > Reporter: Denys Kuzmenko > Assignee: Denys Kuzmenko > Priority: Major > Labels: pull-request-available > Time Spent: 1.5h > Remaining Estimate: 0h > > 2 metrics should be collected by each table/partition that exceeds some limit. > * Number of used deltas > * Number of obsolete deltas > Both of them should be collected in AcidUtils.getAcidstate call, and only be > published if they reached a configurable threshold (to not pollute metrics) -- This message was sent by Atlassian Jira (v8.3.4#803005)