[
https://issues.apache.org/jira/browse/HIVE-26543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
László Bodor updated HIVE-26543:
--------------------------------
Summary: Improve TxnHandler, TxnUtils, CompactionTxnHandler logging (was:
Improve TxnHandler logging)
> Improve TxnHandler, TxnUtils, CompactionTxnHandler logging
> ----------------------------------------------------------
>
> Key: HIVE-26543
> URL: https://issues.apache.org/jira/browse/HIVE-26543
> Project: Hive
> Issue Type: Improvement
> Reporter: László Bodor
> Assignee: László Bodor
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> TxnHandler has some bad logging, like:
> {code}
> LOG.debug("Going to execute query<" + txnsQuery + ">");
> {code}
> https://github.com/apache/hive/blob/8e39937bdb577bc135579d7d34b46ba2d788ca53/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java#L533
> this will involve a pretty unnecessary string concatenation in production
> when we're on INFO level usually, let's use string formats
--
This message was sent by Atlassian Jira
(v8.20.10#820010)