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 735FA10217 for ; Tue, 8 Sep 2015 04:01:58 +0000 (UTC) Received: (qmail 61483 invoked by uid 500); 8 Sep 2015 04:01:45 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 61460 invoked by uid 500); 8 Sep 2015 04:01:45 -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 61450 invoked by uid 99); 8 Sep 2015 04:01:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 04:01:45 +0000 Date: Tue, 8 Sep 2015 04:01:45 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11746) Connect command should not to be allowed from user[beeline-cli branch] 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-11746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734205#comment-14734205 ] Xuefu Zhang commented on HIVE-11746: ------------------------------------ Hi [~Ferd], thanks for working on this. I'm not sure if I understand the reason behind of introducing a variable isFromConsole. To me, it seems that !connect should be disabled for new Hive CLI regardless whether the command is from console or a script file. In addition, Thus, the variable should be really "isBeeline", which is already available. Any thoughts? > Connect command should not to be allowed from user[beeline-cli branch] > ---------------------------------------------------------------------- > > Key: HIVE-11746 > URL: https://issues.apache.org/jira/browse/HIVE-11746 > Project: Hive > Issue Type: Sub-task > Components: Beeline > Reporter: Ferdinand Xu > Assignee: Ferdinand Xu > Attachments: HIVE-11746.1-beeline-cli.patch > > > For new cli, user should not be allowed to connect a server or database. -- This message was sent by Atlassian JIRA (v6.3.4#6332)