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 B64EE18C21 for ; Fri, 18 Sep 2015 18:38:05 +0000 (UTC) Received: (qmail 10804 invoked by uid 500); 18 Sep 2015 18:38:04 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 10705 invoked by uid 500); 18 Sep 2015 18:38:04 -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 10584 invoked by uid 99); 18 Sep 2015 18:38:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Sep 2015 18:38:04 +0000 Date: Fri, 18 Sep 2015 18:38:04 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11710) Beeline embedded mode doesn't output query progress after setting any session property 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-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)