[
https://issues.apache.org/jira/browse/HIVE-11579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700689#comment-14700689
]
Xuefu Zhang commented on HIVE-11579:
------------------------------------
[~Ferd], is there any resource leaking if the statement isn't closed? Here the
problem seems to be that error output shouldn't be closed when a statement is
closed. If we fix that by not closing the statement, I'm not sure of any
inadvertent consequences. Any further thoughts?
> Invoke the set command will close standard error output[beeline-cli]
> --------------------------------------------------------------------
>
> Key: HIVE-11579
> URL: https://issues.apache.org/jira/browse/HIVE-11579
> Project: Hive
> Issue Type: Sub-task
> Components: CLI
> Reporter: Ferdinand Xu
> Assignee: Ferdinand Xu
> Attachments: HIVE-11579-beeline-cli.patch
>
>
> We can easily reproduce the debug by the following steps:
> {code}
> hive> set system:xx=yy;
> hive> lss;
> hive>
> {code}
> The error output disappeared since the err outputstream is closed when
> closing the Hive statement.
> This bug occurred also in the upstream when using the embeded mode as the new
> CLI uses.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)