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 D613BDCB4 for ; Fri, 16 Nov 2012 02:03:12 +0000 (UTC) Received: (qmail 72881 invoked by uid 500); 16 Nov 2012 02:03:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 72797 invoked by uid 500); 16 Nov 2012 02:03:12 -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 72750 invoked by uid 500); 16 Nov 2012 02:03:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 72737 invoked by uid 99); 16 Nov 2012 02:03:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 02:03:12 +0000 Date: Fri, 16 Nov 2012 02:03:12 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <966854104.122081.1353031392199.JavaMail.jiratomcat@arcas> In-Reply-To: <1746122939.77978.1352248212595.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HIVE-3680) Include Table information in Hive's AddPartitionEvent. 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-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498537#comment-13498537 ] Hudson commented on HIVE-3680: ------------------------------ Integrated in Hive-trunk-h0.21 #1799 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1799/]) HIVE-3680 : Include Table information in Hive's AddPartitionEvent. (Mithun Radhakrishnan via Ashutosh Chauhan) (Revision 1409861) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1409861 Files : * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/AddPartitionEvent.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/DropPartitionEvent.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListener.java > Include Table information in Hive's AddPartitionEvent. > ------------------------------------------------------ > > Key: HIVE-3680 > URL: https://issues.apache.org/jira/browse/HIVE-3680 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.9.1 > Reporter: Mithun Radhakrishnan > Assignee: Mithun Radhakrishnan > Fix For: 0.10.0 > > Attachments: HIVE-3680.branch9.patch, HIVE-3680.trunk.patch > > > This has to do with a minor overhaul of the HCatalog notifications that we're attempting in HCATALOG-546. > It is proposed that HCatalog's notifications (on Add/Drop of Partitions) provide details to identify the affected partitions. > Using the Partition object in AddPartitionEvent, one is able to retrieve the values of the partition-keys and the name of the Table. However, the partition-keys themselves aren't available (since the Table instance isn't part of the AddPartitionEvent). > Adding the table-reference to the AddPartitionEvent and DropPartitionEvent classes will expose all the info we need. (The alternative is to query the metastore for the table's schema and use the partition-keys from there. :/) > I'll post a patch for this shortly. -- 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