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

Lars Francke commented on HIVE-275:
-----------------------------------

As the old hive CLI has been deprecated I think we can close this. Feel free to 
reopen against Beeline if necessary.

> split log output from "hive -e '<query>'" to something other than stdout
> ------------------------------------------------------------------------
>
>                 Key: HIVE-275
>                 URL: https://issues.apache.org/jira/browse/HIVE-275
>             Project: Hive
>          Issue Type: Improvement
>          Components: Clients
>            Reporter: S. Alex Smith
>            Priority: Minor
>
> A command like: hive -e 'select * from my_table' produces output like:
> Hive history file=/tmp/asmith/hive_job_log_asmith_200902051423_1455103524.txt
> OK
> 1       [4, 4]
> 1       [0, 1]
> 0       [0, 0]
> 0       [1, 0]
> Time taken: 2.413 seconds
> all of which goes to stdout.  The non-data messages can be removed using 
> '-s', but it would be nice to have a way to instead redirect them to (for 
> example) stderr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to