deniskuzZ commented on code in PR #3908: URL: https://github.com/apache/hive/pull/3908#discussion_r1064508431
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java: ########## @@ -5150,6 +5166,7 @@ private int abortTxns(Connection dbConn, List<Long> txnids, boolean checkHeartbe if (MetastoreConf.getBoolVar(conf, MetastoreConf.ConfVars.METASTORE_ACIDMETRICS_EXT_ON)) { Metrics.getOrCreateCounter(MetricsConstants.TOTAL_NUM_ABORTED_TXNS).inc(txnids.size()); } + LOG.warn("Txns are aborted successfully due to : {}. Aborted Transaction IDs : {}", errorMsg, txnids); Review Comment: ```` LOG.info("Aborted transactions {} due to {}", txnids, errorMsg); ```` errorMsg should be just text, like "heartbeat time-out" either update the msg in TxnErrorMsg or use it as a pattern for the string formatter ```` ABORT_ROLLBACK(50005, "<<<Txn aborted due to>>> rollback"), ```` -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org