[ https://issues.apache.org/jira/browse/HIVE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160671#comment-13160671 ]
Phabricator commented on HIVE-2619: ----------------------------------- njain has commented on the revision "HIVE-2619 [jira] Add hook to run in meatastore's endFunction which can collect more fb303 counters". INLINE COMMENTS metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreEndFunctionListener.java:41 Looks good - do you want to pass a metastoreContext to the endFunction. This can be a empty class right now, but in future if we need to add anything, it would be useful REVISION DETAIL https://reviews.facebook.net/D561 > 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