You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Supratim Deka (JIRA)" <ji...@apache.org> on 2019/03/13 07:09:00 UTC
[jira] [Created] (HDDS-1256) Unit test failing for
KeyValueContainerCheck
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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org