Supratim Deka created HDDS-1256:
-----------------------------------
Summary: Unit test failing for KeyValueContainerCheck
Key: HDDS-1256
URL: https://issues.apache.org/jira/browse/HDDS-1256
Project: Hadoop Distributed Data Store
Issue Type: Bug
Reporter: Supratim Deka
Assignee: Supratim Deka
unit test fails because createContainerWithBlocks() is passing container size
in bytes to
StorageUnit.KB.toBytes(), which triggers creation of a very large container.
[ERROR]
testKeyValueContainerCheckNoCorruption[1](org.apache.hadoop.ozone.container.keyvalue.TestKeyValueContainerCheck)
Time elapsed: 0.052 s <<< ERROR!
org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
Container creation failed, due to disk out of space
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.create(KeyValueContainer.java:158)
at
org.apache.hadoop.ozone.container.keyvalue.TestKeyValueContainerCheck.createContainerWithBlocks(TestKeyValueContainerCheck.java:147)
at
org.apache.hadoop.ozone.container.keyvalue.TestKeyValueContainerCheck.testKeyValueContainerCheckNoCorruption(TestKeyValueContainerCheck.java:106)
with the following exception
Caused by: org.apache.hadoop.util.DiskChecker$DiskOutOfSpaceException: Out of
space: The volume with the most available space (=100783464448 B) is less than
the container size (=274877906944 B).
at
org.apache.hadoop.ozone.container.common.volume.RoundRobinVolumeChoosingPolicy.chooseVolume(RoundRobinVolumeChoosingPolicy.java:75)
at
org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.create(KeyValueContainer.java:117)
... 37 more
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]