[ 
https://issues.apache.org/jira/browse/HIVE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2619:
------------------------------

    Attachment: HIVE-2619.D555.2.patch

kevinwilfong updated the revision "HIVE-2619 [jira] Add hook to run in 
meatastore's endFunction which can collect more fb303 counters".
Reviewers: JIRA

  Namit made the following comment here https://reviews.facebook.net/D561

  "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"

  That's a good idea, we can put perf data there later.

REVISION DETAIL
  https://reviews.facebook.net/D555

AFFECTED FILES
  conf/hive-default.xml
  
metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreEndFunctionContext.java
  
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

                
> 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.D555.1.patch, 
> HIVE-2619.D555.2.patch, 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

        

Reply via email to