[
https://issues.apache.org/jira/browse/HADOOP-12588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063336#comment-15063336
]
Akira AJISAKA commented on HADOOP-12588:
----------------------------------------
+1, thanks Masatake.
* I'm thinking the visibility looks to be the cause because there are no other
reason to fail the test. (I couldn't reproduce the error locally, so I couldn't
confirmed that the visibility is the real cause.)
* The patch is safe to apply.
* The test failures are unrelated because the patch changes TestGangliaMetrics
only.
> Fix intermittent test failure of TestGangliaMetrics
> ---------------------------------------------------
>
> Key: HADOOP-12588
> URL: https://issues.apache.org/jira/browse/HADOOP-12588
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Tsuyoshi Ozawa
> Assignee: Masatake Iwasaki
> Attachments: HADOOP-12588.001.patch
>
>
> Jenkins found this test failure on HADOOP-11149.
> {quote}
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.773 sec <<<
> FAILURE! - in org.apache.hadoop.metrics2.impl.TestGangliaMetrics
> testGangliaMetrics2(org.apache.hadoop.metrics2.impl.TestGangliaMetrics) Time
> elapsed: 0.39 sec <<< FAILURE!
> java.lang.AssertionError: Missing metrics: test.s1rec.Xxx
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at
> org.apache.hadoop.metrics2.impl.TestGangliaMetrics.checkMetrics(TestGangliaMetrics.java:159)
> at
> org.apache.hadoop.metrics2.impl.TestGangliaMetrics.testGangliaMetrics2(TestGangliaMetrics.java:137)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)