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

Peter Vary updated HIVE-16584:
------------------------------
    Attachment: HIVE-16584.03.patch

The patch contains the following changes above the previous ones:
- Without the patch the original code prints the warning messages regardless 
off the isSilent flag. This new patch reproduces the original behavior for 
HiveCli with using printInfo("Message", false) instead of printInfo("Message").
- For the RelOptHiveTable.updateColStats, I kept the printInfo("Message") since 
the original behavior was to print the warning message will be printed only if 
the session is not silent. 
- Also fixed some comment messages.

> Warning messages should use LogHelper.printInfo instead of printing to the 
> infoStream directly
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16584
>                 URL: https://issues.apache.org/jira/browse/HIVE-16584
>             Project: Hive
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 3.0.0
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>         Attachments: HIVE-16584.02.patch, HIVE-16584.03.patch, 
> HIVE-16584.patch
>
>
> There are several cases when warning messages are printed to the console 
> outputstream directly. These warnings do not show up in the BeeLine output.
> We should use the the printInfo method instead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to