hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4004) Incorrect status for AddPartition metastore event if RawStore commit fails
Date Wed, 20 Feb 2013 19:09:14 GMT

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

Hudson commented on HIVE-4004:
------------------------------

Integrated in Hive-trunk-hadoop2 #130 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/130/])
    HIVE-4004 Incorrect status for AddPartition metastore event if RawStore commit fails
(Dilip Joseph via namit) (Revision 1448101)

     Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1448101
Files : 
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
* /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyListener.java
* /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
* /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListenerOnlyOnCommit.java

                
> 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