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 4994910156 for ; Mon, 17 Mar 2014 23:38:48 +0000 (UTC) Received: (qmail 98031 invoked by uid 500); 17 Mar 2014 23:38:45 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 97711 invoked by uid 500); 17 Mar 2014 23:38:44 -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 97535 invoked by uid 500); 17 Mar 2014 23:38:44 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 97522 invoked by uid 99); 17 Mar 2014 23:38:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 23:38:44 +0000 Date: Mon, 17 Mar 2014 23:38:43 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6666) Metastore init scripts should always populate the version information at the end 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-6666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-6666: ----------------------------------- Resolution: Fixed Fix Version/s: 0.13.0 Status: Resolved (was: Patch Available) Committed to 0.13 & branch. Thanks, Prasad! > Metastore init scripts should always populate the version information at the end > -------------------------------------------------------------------------------- > > Key: HIVE-6666 > URL: https://issues.apache.org/jira/browse/HIVE-6666 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.13.0 > Reporter: Prasad Mujumdar > Assignee: Prasad Mujumdar > Fix For: 0.13.0 > > Attachments: HIVE-6666.1.patch, HIVE-6666.1.patch > > > The metastore schema create scripts for 0.13 and 0.14 (current trunk) has multiple other operations after setting the schema version. This is problematic as any failure in those later operations would leave metastore in inconsistent state, and yet with valid version information. The schemaTool depends on the schema version details. > Recording the schema version should be the last step in schema initialization script. -- This message was sent by Atlassian JIRA (v6.2#6252)