Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1163

Ganglia metrics reporting is misconfigured

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.1
    • 0.13.0
    • metrics
    • None
    • ganglia-3.0.3

    Description

      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.

      Attachments

        1. hostname-not-part-of-ganglia-record.patch
          1 kB
          Michael Bieniosek
        2. hostname-not-part-of-ganglia-record-2.patch
          1 kB
          Michael Bieniosek

        Activity

          People

            Unassigned Unassigned
            bien Michael Bieniosek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: