hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephen sprague (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-14525) beeline still writing log data to stdout as of version 2.1.0
Date Fri, 12 Aug 2016 21:15:20 GMT

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

stephen sprague updated HIVE-14525:
-----------------------------------
    Description: 
simple test. note that i'm looking to get a tsv file back.

{code}
$ beeline -u dwrdevnn1 --showHeader=false --outputformat=tsv2 <<SQL >stdout 2>stderr
> select count(*)
> from default.dual;
> SQL
{code}

instead i get this in stdout:

{code}
$ cat stdout
0: jdbc:hive2://dwrdevnn1.sv2.trulia.com:1000> select count(*)
. . . . . . . . . . . . . . . . . . . . . . .> from default.dual;
0
0: jdbc:hive2://dwrdevnn1.sv2.trulia.com:1000> 
{code}

i should only get one row which is the *result* of the query (which is 0) - not the ovthe
loggy kind of lines you see above. that stuff goes to stderr my friends.

also i refer to this ticket b/c the last comment suggested so - its close but not exactly
the same.
https://issues.apache.org/jira/browse/HIVE-14183


  was:
simple test. note that i'm looking to get a tsv file back.

{code}
$ beeline -u dwrdevnn1 --showHeader=false --outputformat=tsv2 <<SQL >stdout 2>stderr
> select count(*)
> from default.dual;
> SQL
{code}

instead i get this in stdout:

{code}
$ cat stdout
0: jdbc:hive2://dwrdevnn1.sv2.trulia.com:1000> select count(*)
. . . . . . . . . . . . . . . . . . . . . . .> from default.dual;
0
0: jdbc:hive2://dwrdevnn1.sv2.trulia.com:1000> 
{code}

i should only get one row which is the *result* of the query (which is 0) - not the over loggy
kind lines you see above. that stuff goes to stderr my friends.

also i refer to this ticket b/c the last comment suggested so - its close but not exactly
the same.
https://issues.apache.org/jira/browse/HIVE-14183



> beeline still writing log data to stdout as of version 2.1.0
> ------------------------------------------------------------
>
>                 Key: HIVE-14525
>                 URL: https://issues.apache.org/jira/browse/HIVE-14525
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 2.1.0
>            Reporter: stephen sprague
>
> simple test. note that i'm looking to get a tsv file back.
> {code}
> $ beeline -u dwrdevnn1 --showHeader=false --outputformat=tsv2 <<SQL >stdout
2>stderr
> > select count(*)
> > from default.dual;
> > SQL
> {code}
> instead i get this in stdout:
> {code}
> $ cat stdout
> 0: jdbc:hive2://dwrdevnn1.sv2.trulia.com:1000> select count(*)
> . . . . . . . . . . . . . . . . . . . . . . .> from default.dual;
> 0
> 0: jdbc:hive2://dwrdevnn1.sv2.trulia.com:1000> 
> {code}
> i should only get one row which is the *result* of the query (which is 0) - not the ovthe
loggy kind of lines you see above. that stuff goes to stderr my friends.
> also i refer to this ticket b/c the last comment suggested so - its close but not exactly
the same.
> https://issues.apache.org/jira/browse/HIVE-14183



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

Mime
View raw message