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 (JIRA)" <ji...@apache.org> on 2013/01/09 11:26:55 UTC

[jira] [Commented] (HIVE-2490) Add reset operation and average time attribute to Metrics MBean.

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

Hudson commented on HIVE-2490:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-2490: Add reset operation and average time attribute to Metrics MBean. (kevinwilfong via hashutosh) (Revision 1293352)

     Result = ABORTED
hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293352
Files : 
* /hive/trunk/common/src/java/org/apache/hadoop/hive/common/metrics/Metrics.java
* /hive/trunk/common/src/java/org/apache/hadoop/hive/common/metrics/MetricsMBeanImpl.java

                
> Add reset operation and average time attribute to Metrics MBean.
> ----------------------------------------------------------------
>
>                 Key: HIVE-2490
>                 URL: https://issues.apache.org/jira/browse/HIVE-2490
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>             Fix For: 0.9.0
>
>         Attachments: HIVE-2490.1.patch.txt
>
>
> We should add a reset operation to the Metrics MBean, which will set all the counters to 0.
> Note: Deleting the counters from the map of attributes was not suggested because that could break any scripts that get the list of attributes from the bean and then the values of each attribute.  Also, 0 is unlikely to be an actual value for any counter, and it will not break the increment functionality. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira