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

Michael Bieniosek updated HADOOP-1163:
--------------------------------------

    Attachment: hostname-not-part-of-ganglia-record-2.patch

attaching updated patch

> Ganglia metrics reporting is misconfigured
> ------------------------------------------
>
>                 Key: HADOOP-1163
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1163
>             Project: Hadoop
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.12.1
>         Environment: ganglia-3.0.3
>            Reporter: Michael Bieniosek
>            Priority: Minor
>         Attachments: hostname-not-part-of-ganglia-record-2.patch, 
> hostname-not-part-of-ganglia-record.patch
>
>
> In hadoop-metrics.properties, I set 
> mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext.
> If I then get the gmond xml feed from the gmond server, I get this:
> <METRIC NAME="load_one" VAL="1.04" TYPE="float" UNITS="" TN="28" TMAX="70" 
> DMAX="0" SLOPE="both" SOURCE="gmond"/>
> ...
> <METRIC NAME="datanode.myhostname.bytes_read" VAL="657927" TYPE="int32" 
> UNITS="" TN="5696" TMAX="60" DMAX="0" SLOPE="both" SOURCE="gmetric"/>
> Because the bytes_read metric has the datanode.hostname prefix, it will not 
> aggregate with metrics from other hosts properly.

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