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] [Commented] (HIVE-4004) Incorrect status for AddPartition metastore event if RawStore commit fails
Date Mon, 18 Mar 2013 04:30:15 GMT

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

Mithun Radhakrishnan commented on HIVE-4004:
--------------------------------------------

This is a good fix. Could we please have this checked into branch-0.10/ as well?
                
> 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

Mime
View raw message