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

Ganglia metrics reporting is misconfigured

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment