[ 
https://issues.apache.org/jira/browse/HIVE-24974?focusedWorklogId=587307&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-587307
 ]

ASF GitHub Bot logged work on HIVE-24974:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Apr/21 15:29
            Start Date: 22/Apr/21 15:29
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on a change in pull request #2148:
URL: https://github.com/apache/hive/pull/2148#discussion_r618507026



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metrics/MetricsConstants.java
##########
@@ -33,6 +33,10 @@
   public static final String OLDEST_ABORTED_TXN_ID = "oldest_aborted_txn_id";
   public static final String OLDEST_ABORTED_TXN_AGE = 
"oldest_aborted_txn_age_in_sec";
 
+  public static final String COMPACTION_NUM_OBSOLETE_DELTAS = 
COMPACTION_STATUS_PREFIX + "obsolete_deltas";
+  public static final String COMPACTION_NUM_DELTAS = COMPACTION_STATUS_PREFIX 
+ "deltas";

Review comment:
       fixed




-- 
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: 587307)
    Time Spent: 2h  (was: 1h 50m)

> 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: 2h
>  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)

Reply via email to