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

Workaround bug with commons-configuration to be able to emit Ganglia metrics to multiple sink servers

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.9.2, 2.9.3
    • None
    • metrics
    • None

    Description

      AbstractGangliaSink is used by the hadoop-metrics2 package to emit metrics to Ganglia. Currently, this class uses the apache commons-configuration package to read from the hadoop-metrics2.properties file. commons-configuration is outdated, and has a bug where the .getString function drops everything after the first comma. This change uses .getList instead, which will work for one or many Ganglia sink servers.

       

      This is fixed in trunk by upgrading to commons-configuration2, which doesn't have the bug anymore.

      Attachments

        1. HADOOP-16320.patch
          1 kB
          Thomas Poepping

        Activity

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

          People

            poeppt Thomas Poepping
            poeppt Thomas Poepping

            Dates

              Created:
              Updated:

              Slack

                Issue deployment