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 41646EA87 for ; Wed, 9 Jan 2013 10:31:36 +0000 (UTC) Received: (qmail 37095 invoked by uid 500); 9 Jan 2013 10:31:19 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 36983 invoked by uid 500); 9 Jan 2013 10:31:19 -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 36718 invoked by uid 500); 9 Jan 2013 10:31:19 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 36519 invoked by uid 99); 9 Jan 2013 10:31:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 10:31:18 +0000 Date: Wed, 9 Jan 2013 10:31:18 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3231) msck repair should find partitions already containing data files 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-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548262#comment-13548262 ] Hudson commented on HIVE-3231: ------------------------------ Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/]) HIVE-3231 : msck repair should find partitions already containing data files (Keegan Mosley via Ashutosh Chauhan) (Revision 1418863) Result = ABORTED hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1418863 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMetaStoreChecker.java * /hive/trunk/ql/src/test/queries/clientpositive/repair.q * /hive/trunk/ql/src/test/queries/clientpositive/repair_hadoop23.q > msck repair should find partitions already containing data files > ---------------------------------------------------------------- > > Key: HIVE-3231 > URL: https://issues.apache.org/jira/browse/HIVE-3231 > Project: Hive > Issue Type: Improvement > Components: Metastore > Affects Versions: 0.10.0, 0.9.1 > Reporter: Keegan Mosley > Assignee: Carl Steinbach > Labels: msck > Fix For: 0.11.0 > > Attachments: HIVE-3231.1.patch.txt, HIVE-3231.2.patch.txt > > > msck repair currently will only discover partition directories if they are empty. > It seems a more apt use case to copy data files into a table, creating the partition directories as you go, rather than creating a bunch of empty partition directories, then running msck repair to dynamically add them, then inserting your actual data files. -- 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