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

Jesus Camacho Rodriguez updated HIVE-11094:
-------------------------------------------
    Description: 
Beeline is sending all output to ErrorStream, instead of using OutputStream for 
info or debug information.

The problem can be reproduced by running:
{noformat}
./run_beeline.sh.1 -f myscript.sql > myscript.out
{noformat}

I will still print the output through the terminal. The reason seems to be that 
the normal output is also sent through the ErrorStream.

  was:
Beeline is sending all output to ErrorStream, instead of using OutputStream for 
info or debug information.

The problem can be reproduced by running:
{noformat}
./run_beeline.sh.1 -f myscript.sql > myscript.out &
{noformat}

I will still print the output through the terminal. The reason seems to be that 
the normal output is also sent through the ErrorStream.


> Beeline redirecting all output to ErrorStream
> ---------------------------------------------
>
>                 Key: HIVE-11094
>                 URL: https://issues.apache.org/jira/browse/HIVE-11094
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-11094.patch
>
>
> Beeline is sending all output to ErrorStream, instead of using OutputStream 
> for info or debug information.
> The problem can be reproduced by running:
> {noformat}
> ./run_beeline.sh.1 -f myscript.sql > myscript.out
> {noformat}
> I will still print the output through the terminal. The reason seems to be 
> that the normal output is also sent through the ErrorStream.



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

Reply via email to