[
https://issues.apache.org/jira/browse/HIVE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2619:
------------------------------
Attachment: HIVE-2619.D561.1.patch
njain requested code review of "HIVE-2619 [jira] Add hook to run in
meatastore's endFunction which can collect more fb303 counters".
Reviewers: JIRA
HIVE-2619
Create the potential for hooks to run in the endFunction method of HMSHandler
which take the name of a function and whether or not it succeeded. Also,
override getCounters from fb303 to allow these hooks to add counters which they
collect, should this be desired. These hooks can be similar to EventListeners,
but they should be more generic.
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D561
AFFECTED FILES
conf/hive-default.xml
metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreEndFunctionListener.java
metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
MANAGE HERALD DIFFERENTIAL RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/1251/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> Add hook to run in meatastore's endFunction which can collect more fb303
> counters
> ---------------------------------------------------------------------------------
>
> Key: HIVE-2619
> URL: https://issues.apache.org/jira/browse/HIVE-2619
> Project: Hive
> Issue Type: Improvement
> Reporter: Kevin Wilfong
> Assignee: Kevin Wilfong
> Attachments: HIVE-2619.1.patch.txt, HIVE-2619.D561.1.patch
>
>
> Create the potential for hooks to run in the endFunction method of HMSHandler
> which take the name of a function and whether or not it succeeded. Also,
> override getCounters from fb303 to allow these hooks to add counters which
> they collect, should this be desired. These hooks can be similar to
> EventListeners, but they should be more generic.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira