Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The following change to the test will cause failure.
+++ b/hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconCodecs.java @@ -35,7 +35,7 @@ public class TestReconCodecs { @Test public void testContainerKeyPrefixCodec() throws IOException { ContainerKeyPrefix containerKeyPrefix = ContainerKeyPrefix.get( - System.currentTimeMillis(), "TestKeyPrefix", 0); + System.currentTimeMillis(), "TestKeyPrefix", -1); Codec<ContainerKeyPrefix> codec = ContainerKeyPrefixCodec.get(); byte[] persistedFormat = codec.toPersistedFormat(containerKeyPrefix);
KeyPrefixContainerCodec will also fail with a similar test.
Attachments
Issue Links
- links to