You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Dilip Joseph (JIRA)" <ji...@apache.org> on 2013/02/08 23:35:12 UTC

[jira] [Commented] (HIVE-4004) Incorrect status for AddPartition metastore event if RawStore commit fails

    [ https://issues.apache.org/jira/browse/HIVE-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574898#comment-13574898 ] 

Dilip Joseph commented on HIVE-4004:
------------------------------------

Code review at https://reviews.facebook.net/D8481
                
> Incorrect status for AddPartition metastore event if RawStore commit fails
> --------------------------------------------------------------------------
>
>                 Key: HIVE-4004
>                 URL: https://issues.apache.org/jira/browse/HIVE-4004
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.10.0
>            Reporter: Dilip Joseph
>            Assignee: Dilip Joseph
>            Priority: Minor
>             Fix For: 0.11.0
>
>         Attachments: HIVE-4004.1.patch.txt
>
>
> For ADD PARTITION operations, the AddPartitionEvent does not care if the RawStore commit succeeded or not.  This means that an AddPartitionEvent with status=true is fired even if the the actual ADD PARTITION operation failed.  This will confuse any AddPartitionEvent listeners.
> Other MetastoreListenerEvents like CreateTableEvent correctly incorporate the status of the RawStore commit.  Only AddPartitionEvent has this problem.

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