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

stack updated HADOOP-3422:
--------------------------

    Attachment: ganglia-patch-3422-updated-v2.patch

Version of patch that addresses the above comments (Uses StringBuilder instead 
of StringBuffer, removes extraneous setLength(0), etc.).  Also adds overload of 
JVMMetrics#init method so can pass name of record to use.  Default is to use 
the old 'metrics' name.  Overload makes it so can pass in alternate record 
name.  This makes it so can have metrics per jvm rather than have all jvm 
metrics lumped together.   For example, in hbase, we can now have graphs for 
both the master and regionserver's jvms show in ganglia.  Doing similar for rpc 
didn't make as much sense since method names are shown (and override of 
RpcMetrics creation is not possible currently).

> Ganglia counter metrics are all reported with the metric name "value", so the 
> counter values can not be seen
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3422
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3422
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.17.2, 0.18.0, 0.18.1, 0.18.2
>            Reporter: Jason
>             Fix For: hudson, 0.19.1, 0.20.0
>
>         Attachments: diff-20080520-1025.txt, 
> ganglia-patch-3422-and-4137.patch, ganglia-patch-3422-and-4137.patch, 
> ganglia-patch-3422-qand-4137-1.patch, ganglia-patch-3422-updated-v2.patch, 
> ganglia-patch-3422-updated.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The JobInProgress class reports all metrics with the name "value". The 
> FileMetrics class puts all of the tags into the name when reporting the 
> individual values, but the Ganglia Context does not put the tags into the 
> name..
> This patch modifies the context to build names for the counter metrics out of 
> the tag values. This enables the user to see the indivdual counter values 
> with the ganglia web tool, on a per job basis

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