hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5437) Fix TestBlockReport and TestBPOfferService failures
Date Wed, 30 Oct 2013 20:45:31 GMT

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

Arpit Agarwal updated HDFS-5437:
--------------------------------

    Summary: Fix TestBlockReport and TestBPOfferService failures  (was: TestBlockReport and
TestBPOfferService fail due to test issues)

> Fix TestBlockReport and TestBPOfferService failures
> ---------------------------------------------------
>
>                 Key: HDFS-5437
>                 URL: https://issues.apache.org/jira/browse/HDFS-5437
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Heterogeneous Storage (HDFS-2832)
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: h5437.03.patch, h5437.04.patch, h5437.05.patch
>
>
> There are a few more test issues in {{TestBlockReport}} caused by the earlier changes.
> {{testBlockReport_07}} fails and it looks like a test issue.
> {code}
> Running org.apache.hadoop.hdfs.server.datanode.TestBlockReport
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 110.824 sec <<<
FAILURE! - in org.apache.hadoop.hdfs.server.datanode.TestBlockReport
> blockReport_07(org.apache.hadoop.hdfs.server.datanode.TestBlockReport)  Time elapsed:
19.314 sec  <<< FAILURE!
> java.lang.AssertionError: Wrong number of Corrupted blocks expected:<1> but was:<0>
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:128)
>         at org.junit.Assert.assertEquals(Assert.java:472)
>         at org.apache.hadoop.hdfs.server.datanode.TestBlockReport.blockReport_07(TestBlockReport.java:461)
> {code}
> {{TestBPOfferService}} fails due to missing implementation of {{SimulatedFSDataset#getStorageReports}}.
> {code}
> 2013-10-28 16:24:33,775 ERROR datanode.DataNode (BPServiceActor.java:run(719)) - Exception
in BPOfferService for Block pool fake bpid (Datanode Uuid null) service to 0.0.0.0/0.0.0.0:0
> java.lang.UnsupportedOperationException  at org.apache.hadoop.hdfs.server.datanode.SimulatedFSDataset.getStorageReports(SimulatedFSDataset.java:1005)
>   at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.sendHeartBeat(BPServiceActor.java:478)
 at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.offerService(BPServiceActor.java:566)
>   at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:717)
>   at java.lang.Thread.run(Thread.java:695)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message