[
https://issues.apache.org/jira/browse/HIVE-26543?focusedWorklogId=810852&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-810852
]
ASF GitHub Bot logged work on HIVE-26543:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Sep/22 15:39
Start Date: 21/Sep/22 15:39
Worklog Time Spent: 10m
Work Description: sonarcloud[bot] commented on PR #3603:
URL: https://github.com/apache/hive/pull/3603#issuecomment-1253886673
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=3603)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=BUG)
[2
Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=VULNERABILITY)
[0
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3603&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3603&resolved=false&types=SECURITY_HOTSPOT)
[1 Security
Hotspot](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3603&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=CODE_SMELL)
[61 Code
Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3603&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3603&metric=coverage&view=list)
No Coverage information
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3603&metric=duplicated_lines_density&view=list)
No Duplication information
Issue Time Tracking
-------------------
Worklog Id: (was: 810852)
Time Spent: 2h (was: 1h 50m)
> 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: 2h
> 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)
