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 3AD62F4D0 for ; Tue, 30 Apr 2013 23:26:17 +0000 (UTC) Received: (qmail 68553 invoked by uid 500); 30 Apr 2013 23:26:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 68513 invoked by uid 500); 30 Apr 2013 23:26:16 -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 68499 invoked by uid 500); 30 Apr 2013 23:26:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 68496 invoked by uid 99); 30 Apr 2013 23:26:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 23:26:16 +0000 Date: Tue, 30 Apr 2013 23:26:16 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4373) Hive Version returned by HiveDatabaseMetaData.getDatabaseProductVersion is incorrect 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-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646146#comment-13646146 ] Hudson commented on HIVE-4373: ------------------------------ Integrated in Hive-trunk-h0.21 #2086 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2086/]) HIVE-4373 : Hive Version returned by HiveDatabaseMetaData.getDatabaseProductVersion is incorrect (Thejas Nair via Ashutosh Chauhan) (Revision 1477249) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1477249 Files : * /hive/trunk/common/build.xml * /hive/trunk/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java * /hive/trunk/jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java * /hive/trunk/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java > Hive Version returned by HiveDatabaseMetaData.getDatabaseProductVersion is incorrect > ------------------------------------------------------------------------------------ > > Key: HIVE-4373 > URL: https://issues.apache.org/jira/browse/HIVE-4373 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.11.0 > Reporter: Deepesh Khandelwal > Assignee: Thejas M Nair > Priority: Minor > Fix For: 0.11.0 > > Attachments: HIVE-4373.1.patch, HIVE-4373.2.patch, HIVE-4373.3.patch > > > When running beeline > {code} > % beeline -u 'jdbc:hive2://localhost:10000' -n hive -p passwd -d org.apache.hive.jdbc.HiveDriver > Connecting to jdbc:hive2://localhost:10000 > Connected to: Hive (version 0.10.0) > Driver: Hive (version 0.11.0) > Transaction isolation: TRANSACTION_REPEATABLE_READ > {code} > The Hive version in the "Connected to: " string says 0.10.0 instead of 0.11.0. > Looking at the code it seems that the version is hardcoded at two places: > line 250 in jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java > line 833 in jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira