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 A8469F1F0 for ; Sat, 27 Apr 2013 07:00:23 +0000 (UTC) Received: (qmail 40510 invoked by uid 500); 27 Apr 2013 07:00:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40456 invoked by uid 500); 27 Apr 2013 07:00:22 -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 40433 invoked by uid 500); 27 Apr 2013 07:00:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40423 invoked by uid 99); 27 Apr 2013 07:00:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Apr 2013 07:00:21 +0000 Date: Sat, 27 Apr 2013 07:00:21 +0000 (UTC) From: "Carl Steinbach (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=13643570#comment-13643570 ] Carl Steinbach commented on HIVE-4373: -------------------------------------- I left some comments on reviewboard. Thanks. > 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 > > > 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