[
https://issues.apache.org/jira/browse/HIVE-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582678#comment-13582678
]
Hudson commented on HIVE-4004:
------------------------------
Integrated in Hive-trunk-h0.21 #1978 (See
[https://builds.apache.org/job/Hive-trunk-h0.21/1978/])
HIVE-4004 Incorrect status for AddPartition metastore event if RawStore
commit fails
(Dilip Joseph via namit) (Revision 1448101)
Result = SUCCESS
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