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