hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16206) Make Codahale metrics reporters pluggable
Date Fri, 17 Mar 2017 21:41:41 GMT

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

Carl Steinbach commented on HIVE-16206:
---------------------------------------

Hi [~sbeeram], I think the pre-commit patch testing job may have skipped this ticket (I don't
see it listed in the queue [here|https://builds.apache.org/job/PreCommit-HIVE-Build/]). Can
you please attach another copy of the patch following the directions [here|https://cwiki.apache.org/confluence/display/Hive/Hive+PreCommit+Patch+Testing]?
Thanks.

> Make Codahale metrics reporters pluggable
> -----------------------------------------
>
>                 Key: HIVE-16206
>                 URL: https://issues.apache.org/jira/browse/HIVE-16206
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>    Affects Versions: 2.1.2
>            Reporter: Sunitha Beeram
>            Assignee: Sunitha Beeram
>         Attachments: HIVE-16206.patch
>
>
> Hive metrics code currently allows pluggable metrics handlers - ie, handlers that take
care of providing interfaces for metrics collection as well as a reporting; one of the 'handlers'
is CodahaleMetrics. Codahale can work with different reporters - currently supported ones
are Console, JMX, JSON file and hadoop2 sink. However, adding a new reporter involves changing
that class. We would like to make this conf driven just the way MetricsFactory handles configurable
Metrics classes.
> Scope of work:
> - Provide a new configuration option, HIVE_CODAHALE_REPORTER_CLASSES that enumerates
classes (like HIVE_METRICS_CLASS and unlike HIVE_METRICS_REPORTER).
> - Move JsonFileReporter into its own class.
> - Update CodahaleMetrics.java to read new config option and if the new option is not
present, look for the old option and instantiate accordingly) - ie, make the code backward
compatible.
> - Update and add new tests.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message