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

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

Yeah. The second patch will leak "PrintStream", so I think the first patch is 
reasonable actually in which will close the stream to the temp file before 
deleting the temp file. Let me check if the close() function will be called 
when an exception is thrown.

> 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)

Reply via email to