You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/12/02 07:49:40 UTC

[jira] [Commented] (HIVE-2619) Add hook to run in metastore's endFunction which can collect more fb303 counters

    [ https://issues.apache.org/jira/browse/HIVE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161453#comment-13161453 ] 

Hudson commented on HIVE-2619:
------------------------------

Integrated in Hive-trunk-h0.21 #1118 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1118/])
    HIVE-2619 Add hook to run in metastore's endFunction which can collect more fb303 counters
(Kevin Wilfong via namit)

namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1209368
Files : 
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/conf/hive-default.xml
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreEndFunctionContext.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreEndFunctionListener.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java

                
> Add hook to run in metastore'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