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 Fri, 18 Sep 2015 18:38:04 GMT

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

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

Xuefu, as I posted above, actually when close() is called, the temp file which ss.out is using
will be deleted anyway so other operations shouldn't be allowed to use if close() is already
called somewhere else. 

Yeah. I agree that seems like we may potentially run into such issue, but it would run into
such issue even I'm not closing ss.out since the tmp file is deleted by {{cleanTmpFile();}}.

To tell the truth, I don't know exactly why we are setting ss.out in HiveCommandOptions. I
can change to not to close ss.out, but it would leave to resource leaking since we are not
closing the file. 

> 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