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-3938) Hive MetaStore should send a single AddPartitionEvent for atomically added partition-set.
Date Wed, 13 Feb 2013 18:50:13 GMT

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

Mithun Radhakrishnan updated HIVE-3938:
---------------------------------------

    Attachment: HIVE-3938.patch

Fixed error handling in add_partitions_core() and add_partition_core_notxn_no_events().

Now, failure of add_partition_core_notxn_no_events() is always reported via exception. (The
confusion stemmed from MetaStore.addPartition()'s ambiguous failure semantics.)
                
> Hive MetaStore should send a single AddPartitionEvent for atomically added partition-set.
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-3938
>                 URL: https://issues.apache.org/jira/browse/HIVE-3938
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.10.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-3938.patch
>
>
> HiveMetaStore::add_partitions() currently adds all partitions specified in one call using
a single meta-store transaction. This acts correctly. However, there's one AddPartitionEvent
created per partition specified.
> Ideally, the set of partitions added atomically can be communicated using a single AddPartitionEvent,
such that they are consumed together.
> I'll post a patch that does this.

--
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

Mime
View raw message