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 0362E1107D for ; Wed, 14 May 2014 06:12:57 +0000 (UTC) Received: (qmail 60524 invoked by uid 500); 12 May 2014 22:06:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 60354 invoked by uid 500); 12 May 2014 22:06: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 60239 invoked by uid 500); 12 May 2014 22:06:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 60159 invoked by uid 99); 12 May 2014 22:06:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 22:06:16 +0000 Date: Mon, 12 May 2014 22:06:16 +0000 (UTC) From: "Carl Steinbach (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HIVE-6974) Make Metastore Version Check work with Custom version suffixes 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-6974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carl Steinbach resolved HIVE-6974. ---------------------------------- Resolution: Duplicate > Make Metastore Version Check work with Custom version suffixes > -------------------------------------------------------------- > > Key: HIVE-6974 > URL: https://issues.apache.org/jira/browse/HIVE-6974 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Carl Steinbach > > HIVE-3764 added support for doing a version consistency check between the Hive JARs on the classpath and the metastore schema in the backend database. This is a nice feature, but it currently doesn't work for well for folks who appending the release version with their own suffixes, e.g. "0.12.0.li_20". > We can fix this problem by modifying MetaStoreSchemaInfo.getHiveSchemaVersion() to match against ^\d+\.\d+\.\d+ and ignore anything that remains. -- This message was sent by Atlassian JIRA (v6.2#6252)