You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2014/06/24 21:10:25 UTC

[jira] [Reopened] (HADOOP-10468) TestMetricsSystemImpl.testMultiThreadedPublish fails intermediately

     [ https://issues.apache.org/jira/browse/HADOOP-10468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Lowe reopened HADOOP-10468:
---------------------------------


Reopening this issue as it breaks all existing metrics2 property files.  Before this change the properties needed to be lower-cased but now they must be camel-cased (e.g.: namenode.* now must be NameNode.*).

The release note states that the metrics2 file became case-sensitive, but I don't believe that's the case.  MetricsConfig uses org.apache.commons.configuration.SubsetConfiguration which I think has always been case-sensitive.

I'm hoping there's a way we can fix the underlying issue without breaking existing metrics2 property files, because the way in which they break is silent.  The settings are simply ignored rather than an error being thrown for unrecognized/unhandled properties.

> TestMetricsSystemImpl.testMultiThreadedPublish fails intermediately
> -------------------------------------------------------------------
>
>                 Key: HADOOP-10468
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10468
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>             Fix For: 2.5.0
>
>         Attachments: HADOOP-10468.000.patch, HADOOP-10468.001.patch
>
>
> {{TestMetricsSystemImpl.testMultiThreadedPublish}} can fail intermediately due to the insufficient size of the sink queue:
> {code}
> 2014-04-06 21:34:55,269 WARN  impl.MetricsSinkAdapter (MetricsSinkAdapter.java:putMetricsImmediate(107)) - Collector has a full queue and can't consume the given metrics.
> 2014-04-06 21:34:55,270 WARN  impl.MetricsSinkAdapter (MetricsSinkAdapter.java:putMetricsImmediate(107)) - Collector has a full queue and can't consume the given metrics.
> 2014-04-06 21:34:55,271 WARN  impl.MetricsSinkAdapter (MetricsSinkAdapter.java:putMetricsImmediate(107)) - Collector has a full queue and can't consume the given metrics.
> {code}
> The unit test should increase the default queue size to avoid intermediate failure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)