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 1AD621766D for ; Thu, 23 Apr 2015 22:51:59 +0000 (UTC) Received: (qmail 37816 invoked by uid 500); 23 Apr 2015 22:51:58 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 37727 invoked by uid 500); 23 Apr 2015 22:51:58 -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 37708 invoked by uid 99); 23 Apr 2015 22:51:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 22:51:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for dev@hive.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 22:51:53 +0000 Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id F328643CC9 for ; Thu, 23 Apr 2015 22:51:32 +0000 (UTC) Received: by lbbuc2 with SMTP id uc2so23948033lbb.2 for ; Thu, 23 Apr 2015 15:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=OOu1TkOe8BZodM65D3RMcvyx7+8eC9fdfGdZTDpCUhc=; b=j4gODRg+F0MubijWBKVNDBDFy2vlP1+GrjizNFUqeGU9KoATdZqSpuXerCEJKKMdC9 /tEmST7yV7xGw2+mhlTNEQpnDXpSuVESLykjNR65KHR2+i1Yqxf7awNqbL9QQ7c6mVrE 974gT9QE1++vgE7SnIADIQRrvzB0+1K9zltWV2wz5m+BOTJq8Iu9ZoNsWcnq+VsLi0YL loapgYIYUD4FLUDd3ItESIiddAFtBYbbyn8IrlKdoEpDWpx3o+bHwWO+R4vVj9xx0ukj 8w10tOT5Fx6OT6rOXiBtDTjMi21W4/XT+enoghaNyZDCMn7ICtZki6ybnAQqzHGZSoRY rl5g== X-Received: by 10.152.116.49 with SMTP id jt17mr4427365lab.82.1429829446556; Thu, 23 Apr 2015 15:50:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.206.201 with HTTP; Thu, 23 Apr 2015 15:50:26 -0700 (PDT) In-Reply-To: References: From: Alexander Pivovarov Date: Thu, 23 Apr 2015 15:50:26 -0700 Message-ID: Subject: Re: [DISCUSS] Deprecating Hive CLI To: "dev@hive.apache.org" Content-Type: multipart/alternative; boundary=001a11c3677e405f1605146c1c4b X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3677e405f1605146c1c4b Content-Type: text/plain; charset=UTF-8 Hive CLI should be part of Hive project Beeline is a jdbc client. It should be separated from Hive (as any other jdbc clients). I'm not sure I understand business value of beeline. Power users (which has ssh access to cluster) can use Hive CLI. - more reliable approach because it does not need HS2 - simpler authentication (in many cases application users do not have LDAP password) Business users (LDAP users) will probably use GUI jdbc clients (e.g. SQL Workbench/J or SQuirreL SQL) Is beeline production ready? - beeline q tests were disabled about 2 years ago I do not think beeline is popular. I'd rather focus on improving JDBC driver to make sure SQL Workbench/J or SQuirreL SQL can work with hiveserver2 effectively. 7 months ago did several fixes for hive JDBC driver to make basic operations work in SQL Workbench/J and SQuirreL SQL. But lots of jdbc methods still not supported by hive jdbc driver On Thu, Apr 23, 2015 at 2:43 PM, Xuefu Zhang wrote: > Hi all, > > I'd like to revive the discussion about the fate of Hive CLI, as this topic > has haunted us several times including [1][2]. It looks to me that there is > a consensus that it's not wise for Hive community to keep both Hive CLI as > it is as well as Beeline + HS2. However, I don't believe that no action is > the best action for us. From discussion so far, I see the following > proposals: > > 1. Deprecating Hive CLI and advise that users use Beeline. > 2. Make Hive CLI as naming flavor to beeline with embedded mode. > > Frankly, I don't see much difference between the two approaches. Keeping an > alias at script or even code level isn't that much work. However, shouldn't > we pick a direction and start moving to it? If there is any gaps between > beeline embedded and Hive CLI, we should identify and fill in those. > > I'd love to hear the thoughts from the community and hope this time we will > have concrete action items to work on. > > Thanks, > Xuefu > > [1] > > http://mail-archives.apache.org/mod_mbox/hive-dev/201412.mbox/%3C5485E1BE.3060709%40hortonworks.com%3E > [2] https://www.mail-archive.com/dev@hive.apache.org/msg112378.html > --001a11c3677e405f1605146c1c4b--