HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu)
This commit is contained in:
parent
4c9497cbf0
commit
50741cb568
|
@ -988,6 +988,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-9080. Update htrace version to 4.0.1 (cmccabe)
|
HDFS-9080. Update htrace version to 4.0.1 (cmccabe)
|
||||||
|
|
||||||
|
HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary
|
||||||
|
(Tony Wu via lei)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||||
|
|
|
@ -517,8 +517,8 @@ public class TestWriteToReplica {
|
||||||
Assert.assertTrue(
|
Assert.assertTrue(
|
||||||
replicaInfo.getBlockId() == blocks[NON_EXISTENT].getBlockId());
|
replicaInfo.getBlockId() == blocks[NON_EXISTENT].getBlockId());
|
||||||
} catch (ReplicaAlreadyExistsException e) {
|
} catch (ReplicaAlreadyExistsException e) {
|
||||||
Assert.fail("createRbw() Should have removed the block with the older "
|
Assert.fail("createTemporary should have allowed the block with newer "
|
||||||
+ "genstamp and replaced it with the newer one: " + blocks[NON_EXISTENT]);
|
+ " generation stamp to be created " + blocks[NON_EXISTENT]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue