[
https://issues.apache.org/jira/browse/HIVE-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052805#comment-13052805
]
[email protected] commented on HIVE-2194:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/853/
-----------------------------------------------------------
(Updated 2011-06-21 20:25:04.600512)
Review request for hive and Paul Yang.
Changes
-------
-updated test cases to resolve conflicts with new commits to trunk.
Summary
-------
HIVE-2038 introduced the MetaStoreEventListener abstract class that defines
actions to be performed after particular events on a metastore. Improve upon
that class by adding events to be performed on "alter table" and "alter
partition" actions. Also, update the hive metastore to call the appropriate
functions of the listeners when the events happen.
This addresses bug HIVE-2194.
https://issues.apache.org/jira/browse/HIVE-2194
Diffs (updated)
-----
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java
1138144
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
1138144
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java
1138144
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
1138144
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/AlterPartitionEvent.java
PRE-CREATION
trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/AlterTableEvent.java
PRE-CREATION
trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyListener.java
1138144
trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListener.java
1138144
Diff: https://reviews.apache.org/r/853/diff
Testing
-------
Added test cases to TestMetaStoreEventListener.
Thanks,
Sohan
> Add actions for alter table and alter partition events for metastore event
> listeners
> ------------------------------------------------------------------------------------
>
> Key: HIVE-2194
> URL: https://issues.apache.org/jira/browse/HIVE-2194
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Reporter: Sohan Jain
> Assignee: Sohan Jain
> Attachments: HIVE-2194.1.patch
>
>
> HIVE-2038 introduced the MetaStoreEventListener abstract class that defines
> actions to be performed after particular events on a metastore. Improve upon
> that class by adding events to be performed on "alter table" and "alter
> partition" actions.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira