hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11710) Beeline embedded mode doesn't output query progress after setting any session property
Date Mon, 14 Sep 2015 22:20:46 GMT

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

Xuefu Zhang commented on HIVE-11710:
------------------------------------

In  HiveCommandOperation.tearDownSessionIO(), should we just close the result of this: new
FileOutputStream(sessionState.getTmpOutputFile())? It looks like that we don't need to close
either ss.out or ss.err. Otherwise, if one operation gets closed for any reason (such as timeout),
then other operations in the same user session will get ss.out and ss.err that's closed. It's
my understanding that session state is shared among operations in a hive session.


> Beeline embedded mode doesn't output query progress after setting any session property
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-11710
>                 URL: https://issues.apache.org/jira/browse/HIVE-11710
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-11710.patch
>
>
> Connect to beeline embedded mode {{beeline -u jdbc:hive2://}}. Then set anything in the
session like {{set aa=true;}}.
> After that, any query like {{select count(*) from src;}} will only output result but
no query progress.



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

Mime
View raw message