[ 
https://issues.apache.org/jira/browse/HADOOP-6728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910891#action_12910891
 ] 

Eric Yang commented on HADOOP-6728:
-----------------------------------

The design is treating jmx and ganglia as first class citizen.  Why not web 
service REST api?  For code structure perspective, this is cleaner but it 
breaks existing API without real value to the customer who already use jmx or 
MetricsContext api.  Is there possibility to have REST interface without having 
to go through another bridge?  I was thinking if the interface could be 
generalized, the new metrics framework can enable ability to create metrics 
REST api on name node, jobtracker, datanode, and task tracker in a consistent 
manner.

> Overhaul metrics framework
> --------------------------
>
>                 Key: HADOOP-6728
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6728
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Luke Lu
>            Assignee: Luke Lu
>             Fix For: 0.22.0
>
>         Attachments: hadoop-6728-y20.104.patch, metrics1-flow.png, 
> metrics2-builder-r2.png, metrics2-builder.png, metrics2-flow.png, 
> metrics2-mutable-r2.png, metrics2-mutable.png, metrics2-record-r2.png, 
> metrics2-record.png, metrics2-uml-r2.png, metrics2-uml.png
>
>
> Per discussions with Arun, Chris, Hong and Rajiv, et al, we concluded that 
> the current metrics framework needs an overhaul to:
> * Allow multiple plugins for different monitoring systems simultaneously (see 
> also: HADOOP-6508).
> * Refresh metrics plugin config without server restart.
> ** Including filtering of metrics per plugin.
> * Support metrics schema for plugins.
> The jira will be resolved when core hadoop components (hdfs, mapreduce) are 
> updated to use the new framework . Updates to external components that use 
> the existing metrics framework will be tracked by different issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to