Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B74C18087 for ; Tue, 27 Oct 2015 13:03:28 +0000 (UTC) Received: (qmail 53950 invoked by uid 500); 27 Oct 2015 13:03:28 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 53927 invoked by uid 500); 27 Oct 2015 13:03:27 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 53909 invoked by uid 99); 27 Oct 2015 13:03:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 13:03:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A717C2C033A for ; Tue, 27 Oct 2015 13:03:27 +0000 (UTC) Date: Tue, 27 Oct 2015 13:03:27 +0000 (UTC) From: "David Maughan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-12158) Add methods to HCatClient for partition synchronization 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-12158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Maughan reassigned HIVE-12158: ------------------------------------ Assignee: David Maughan > Add methods to HCatClient for partition synchronization > ------------------------------------------------------- > > Key: HIVE-12158 > URL: https://issues.apache.org/jira/browse/HIVE-12158 > Project: Hive > Issue Type: Improvement > Components: HCatalog > Affects Versions: 2.0.0 > Reporter: David Maughan > Assignee: David Maughan > Priority: Minor > Labels: hcatalog > Attachments: HIVE-12158.1.patch > > > We have a use case where we have a list of partitions that are created as a result of a batch job (new or updated) outside of Hive and would like to synchronize them with the Hive MetaStore. We would like to use the HCatalog {{HCatClient}} but it currently does not seem to support this. However it is possible with the {{HiveMetaStoreClient}} directly. I am proposing to add the following method to {{HCatClient}} and {{HCatClientHMSImpl}}: > A method for altering partitions. The implementation would delegate to {{HiveMetaStoreClient#alter_partitions}}. I've used "update" instead of "alter" in the name so it's consistent with the {{HCatClient#updateTableSchema}} method. > {code} > public void updatePartitions(List partitions) throws HCatException > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)