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

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

                Author: ASF GitHub Bot
            Created on: 30/Mar/21 12:56
            Start Date: 30/Mar/21 12:56
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on a change in pull request #2132:
URL: https://github.com/apache/hive/pull/2132#discussion_r604070671



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metrics/MetricsConstants.java
##########
@@ -27,6 +27,11 @@
   public static final String COMPACTION_WORKER_CYCLE = 
"compaction_worker_cycle";
   public static final String OLDEST_OPEN_TXN_ID = "oldest_open_txn_id";
   public static final String OLDEST_OPEN_TXN_AGE = 
"oldest_open_txn_age_in_sec";
+  // number of aborted txns in TXNS table
+  public static final String NUM_ABORTED_TXNS_IN_TXNS = 
COMPACTION_STATUS_PREFIX + "aborted_txns_in_txns";

Review comment:
       yes, I would go with NUM_TOTAL_ABORTED_TXNS and NUM_ABORTED_TXNS. 




-- 
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: 574140)
    Time Spent: 1h 40m  (was: 1.5h)

> New metrics about aborted transactions
> --------------------------------------
>
>                 Key: HIVE-24955
>                 URL: https://issues.apache.org/jira/browse/HIVE-24955
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> 5 new metrics:
>  * Number of aborted transactions in the TXNS table (collected in 
> AcidMetricsService)
>  * Oldest aborted transaction (collected in AcidMetricsService)
>  * Number of aborted write transaction (incremented counter at 
> abortTransaction)
>  * Number of committed write transaction (incremented counter at 
> commitTransaction)
>  * Number of timed out transactions (cleaner removed them after heartbeat 
> time out)
> The latter 3 will restart as 0 after every HMS restart 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to