Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Heterogeneous Storage (HDFS-2832)
-
None
-
Reviewed
Description
There are a few more test issues in TestBlockReport caused by the earlier changes.
testBlockReport_07 fails and it looks like a test issue.
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)
TestBPOfferService fails due to missing implementation of SimulatedFSDataset#getStorageReports.
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)