hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11710) Beeline embedded mode doesn't output query progress after setting any session property
Date Wed, 23 Sep 2015 15:12:04 GMT

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

Aihua Xu commented on HIVE-11710:
---------------------------------

[~xuefuz] I double checked. The first patch is good to handle closing the file handler when
the current session is getting closing. The second patch will have the file handler leaking.


Whether an exception occurs or not, hive will close the session, in which it will call {{HiveCommandOperation:close()}}.


The first patch will see if the stream is a file stream or standard stream. If it's a file
stream, then we should close it at last.

Xuefu, how do you think? Should we proceed with the first patch?

> 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.2.patch, 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