[
https://issues.apache.org/jira/browse/HADOOP-16320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16842821#comment-16842821
]
Thomas Poepping commented on HADOOP-16320:
------------------------------------------
Bug in commons-configuration was found by experiment. This is reproducible by
starting more than one ganglia server and providing a comma-separated list in
the configuration.
> Workaround bug with commons-configuration to be able to emit Ganglia metrics
> to multiple sink servers
> -----------------------------------------------------------------------------------------------------
>
> Key: HADOOP-16320
> URL: https://issues.apache.org/jira/browse/HADOOP-16320
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 2.9.2, 2.9.3
> Reporter: Thomas Poepping
> Assignee: Thomas Poepping
> Priority: Minor
> Attachments: HADOOP-16320.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]