Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5FC9518A15 for ; Tue, 18 Aug 2015 03:08:46 +0000 (UTC) Received: (qmail 68951 invoked by uid 500); 18 Aug 2015 03:08:46 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 68926 invoked by uid 500); 18 Aug 2015 03:08:46 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 68916 invoked by uid 99); 18 Aug 2015 03:08:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2015 03:08:46 +0000 Date: Tue, 18 Aug 2015 03:08:46 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (HIVE-11579) Invoke the set command will close standard error output[beeline-cli] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-11579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated HIVE-11579: ------------------------------- Comment: was deleted (was: 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: 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)