[ 
https://issues.apache.org/jira/browse/HIVE-16647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006682#comment-16006682
 ] 

Aihua Xu commented on HIVE-16647:
---------------------------------

[~pvary] Ideally we should configure LOG so it can output to file or console. 
Right now seems it's there so if I print to LOG and Console, it may print twice 
if LOG is configured to print to console.

It's a good idea. I will file a followup jira to investigate that.

> Improve the validation output to make the output to stderr and stdout more 
> consistent
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-16647
>                 URL: https://issues.apache.org/jira/browse/HIVE-16647
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>    Affects Versions: 2.2.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>            Priority: Minor
>         Attachments: HIVE-16647.1.patch
>
>
> Some output are printed to stderr or stdout inconsistently. Here are some of 
> them. Update to make them more consistent.
> *  Version table validation
>   When the version table is missing, the err msg goes to stderr
>   When the version table is not valid, the err msg goes to stdout with a 
> message like "Failed in schema version validation: <err_msg>
> *  Metastore/schema table validation
> ** When the version table contains the wrong version or there are no rows in 
> the version table, err msg goes to stderr
> ** When there diffs between the schema and metastore tables, the err msg goes 
> to stdout



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

Reply via email to