hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7837) HCatClient doesn't have an addPartitions( partList, ifNotExist );
Date Thu, 21 Aug 2014 21:03:11 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mithun Radhakrishnan updated HIVE-7837:
---------------------------------------

    Affects Version/s: 0.13.1

> HCatClient doesn't have an addPartitions( partList, ifNotExist );
> -----------------------------------------------------------------
>
>                 Key: HIVE-7837
>                 URL: https://issues.apache.org/jira/browse/HIVE-7837
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.13.1
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>
> HCatalog doesn't provide a way to add partitions in an idempotent fashion. It currently
only has:
> {{public abstract int addPartitions(List<HCatAddPartitionDesc> partInfoList);}}
> (Pending HIVE-7576, there'll also be:
> {{public abstract int addPartitionSpec(HCatPartitionSpec partitionSpec)throws HCatException;}}
> )
> Neither provides a way to "add-partitions-if-not-exist". There's value in adding such
an API, for systems that add partitions to Hive tables, to be able to retry reliably (and
avoid an AlreadyExistsException).
> This can be implemented using {{HiveMetaStoreClient.add_partitions( partList, ifNotExists,
needREsults )}}, for HCatClientHMSImpl.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message