You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2022/09/18 08:44:00 UTC

[jira] [Updated] (HIVE-26543) Improve TxnHandler logging

     [ https://issues.apache.org/jira/browse/HIVE-26543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

László Bodor updated HIVE-26543:
--------------------------------
    Description: 
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 generate a string in production when we're on INFO level, let's use string formats

> Improve TxnHandler 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
>
> 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 generate a string in production when we're on INFO level, let's use string formats



--
This message was sent by Atlassian Jira
(v8.20.10#820010)