Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C67FD11B70 for ; Fri, 4 Jul 2014 00:37:34 +0000 (UTC) Received: (qmail 59223 invoked by uid 500); 4 Jul 2014 00:37:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 59156 invoked by uid 500); 4 Jul 2014 00:37:34 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 59139 invoked by uid 500); 4 Jul 2014 00:37:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 59136 invoked by uid 99); 4 Jul 2014 00:37:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2014 00:37:34 +0000 Date: Fri, 4 Jul 2014 00:37:34 +0000 (UTC) From: "Ashish Kumar Singh (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7345) Beeline changes its prompt to reflect successful database connection even after failing to connect 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-7345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Kumar Singh updated HIVE-7345: ------------------------------------- Status: Patch Available (was: Open) > Beeline changes its prompt to reflect successful database connection even after failing to connect > -------------------------------------------------------------------------------------------------- > > Key: HIVE-7345 > URL: https://issues.apache.org/jira/browse/HIVE-7345 > Project: Hive > Issue Type: Bug > Reporter: Ashish Kumar Singh > Assignee: Ashish Kumar Singh > Attachments: HIVE-7345.patch > > > Beeline changes its prompt to reflect successful database connection even after failing to connect, which is misleading. > {code} > [asingh@e1118 tpcds]$ beeline -u "jdbc:hive2://abclocalhost:10000 hive" > scan complete in 5ms > Connecting to jdbc:hive2://abclocalhost:10000 > Error: Invalid URL: jdbc:hive2://abclocalhost:10000 (state=08S01,code=0) > Beeline version 0.12.0-cdh5.1.0-SNAPSHOT by Apache Hive > 0: jdbc:hive2://abclocalhost:10000> show tables; > No current connection > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)