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

Hadoop metrics can be only sent to the first ganglia gmond server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.7.2, 2.6.4
    • None
    • metrics

    Description

      Ganglia metrics can be only sent to the first metric server.
      If I config namenode.sink.ganglia.servers=host1:8649,host2:8649 in hadoop-metrics2.properties,then metrics can only be sent to host1,host2 will never receive them.This means if gmond on host1 is down,metrics will not be collected.

      This happens because GangliaSink parse metric servers use a getString method in SubsetConfiguration,while this method return only the first element in the list.

      Attachments

        1. HADOOP-13477.002.patch
          3 kB
          JerryXin
        2. HADOOP-13477.001.patch
          3 kB
          JerryXin

        Activity

          People

            mrx JerryXin
            mrx JerryXin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: