[
https://issues.apache.org/jira/browse/HIVE-18876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619530#comment-16619530
]
Alice Fan commented on HIVE-18876:
----------------------------------
Hi [~ngangam], Could you please help to review this? We would like to remove
unuseful logging while execute().
> Remove Superfluous Logging in Driver
> ------------------------------------
>
> Key: HIVE-18876
> URL: https://issues.apache.org/jira/browse/HIVE-18876
> Project: Hive
> Issue Type: Sub-task
> Components: HiveServer2
> Affects Versions: 3.0.0
> Reporter: BELUGA BEHR
> Assignee: Alice Fan
> Priority: Trivial
> Labels: noob
> Attachments: HIVE-18876.1.patch, HIVE-18876.2.patch
>
>
> [https://github.com/apache/hive/blob/a4198f584aa0792a16d1e1eeb2ef3147403b8acb/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L2188-L2190]
> {code:java}
> if (console != null) {
> console.printInfo("OK");
> }
> {code}
> # Console can never be 'null'
> # OK is not an informative logging message, and in the HiveServer2 logs, it
> is often interwoven into the logging and is pretty much useless on its own,
> without having to trace back through the logs to see what happened before it.
> This is also printed out, even if an error occurred
> Please remove this block of code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)