hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferdinand Xu (JIRA)" <>
Subject [jira] [Commented] (HIVE-11579) Invoke the set command will close standard error output[beeline-cli]
Date Tue, 18 Aug 2015 02:36:45 GMT


Ferdinand Xu commented on HIVE-11579:

When I am debuging, I see the error output is closed after invoking the closeClientOperation
method in class HiveStatement. The main purpose for this method is to send a request to the
server to close handler. You can see that the error output is redirected to the standard error
output. When the SQLOperation closes a driver, it will close the driver with resStream closed.
When in the non-embedded mode, it works well since the two output stream are not the same
one while it failed for embedded mode.

> Invoke the set command will close standard error output[beeline-cli]
> --------------------------------------------------------------------
>                 Key: HIVE-11579
>                 URL:
>             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
> This bug occurred also in the upstream when using the embeded mode as the new CLI uses.

This message was sent by Atlassian JIRA

View raw message