You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2013/01/03 22:26:12 UTC

[jira] [Created] (HDFS-4355) TestNameNodeMetrics.testCorruptBlock fails with open JDK7

Brandon Li created HDFS-4355:
--------------------------------

             Summary: TestNameNodeMetrics.testCorruptBlock fails with open JDK7
                 Key: HDFS-4355
                 URL: https://issues.apache.org/jira/browse/HDFS-4355
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 1-win
            Reporter: Brandon Li
            Assignee: Brandon Li


Argument(s) are different! Wanted:
metricsRecordBuilder.addGauge(
"CorruptBlocks",
<any>,
1
);
-> at org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:96)
Actual invocation has different arguments:
metricsRecordBuilder.addGauge(
"FilesTotal",
"",
4
);
-> at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getMetrics(FSNamesystem.java:5818)

at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:96)
at org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testCorruptBlock(TestNameNodeMetrics.java:160)


The test should cleanup the filesystem to avoid the pending blocks left by other tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira