[
https://issues.apache.org/jira/browse/HADOOP-10058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798672#comment-13798672
]
Akira AJISAKA commented on HADOOP-10058:
----------------------------------------
Here is the part of the output of succeeded test:
{code}
2013-10-17 15:34:03,799 WARN util.MBeans (MBeans.java:register(65)) - Failed
to register MBean "Hadoop:service=Test,name=MetricsSystem,sub=Control":
Instance already exists.
{code}
The above line is not found in the output of failed test.
I think failing to register MBean is not good case.
Therefore, HADOOP-9559 should be resolved before creating a patch for this
issue.
> TestMetricsSystemImpl fails on trunk
> ------------------------------------
>
> Key: HADOOP-10058
> URL: https://issues.apache.org/jira/browse/HADOOP-10058
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 3.0.0
> Environment: Mac OS 10.8, Java7u40
> Reporter: Akira AJISAKA
> Assignee: Akira AJISAKA
> Attachments:
> org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl-output_SUCCESS.txt,
> org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl-output.txt,
> org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl_SUCCESS.txt,
> org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.txt
>
>
> Here is the output when I executed "mvn test -Dtest=TestMetricsSystemImpl".
> {code}
> Failed tests:
> TestMetricsSystemImpl.testInitFirstVerifyStopInvokedImmediately:114
> Wanted at most 2 times but was 3
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0
> {code}
> I found the test doesn't always fail. The test sometimes success.
--
This message was sent by Atlassian JIRA
(v6.1#6144)