[
https://issues.apache.org/jira/browse/HDDS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840604#comment-16840604
]
Hudson commented on HDDS-1511:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16553 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16553/])
HDDS-1511. Space tracking for Open Containers in HDDS Volumes. (arp7: rev
9569015802e695f1c242c74d5ac9df27e180374c)
* (edit)
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerPersistence.java
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/HddsVolume.java
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerData.java
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerSet.java
> Space tracking for Open Containers in HDDS Volumes
> --------------------------------------------------
>
> Key: HDDS-1511
> URL: https://issues.apache.org/jira/browse/HDDS-1511
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: Supratim Deka
> Assignee: Supratim Deka
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Attachments: HDDS-1511.000.patch, HDDS-1511.001.patch
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> For every HDDS Volume, track the space usage in open containers. Introduce a
> counter committedBytes in HddsVolume - this counts the remaining space in
> Open containers until they reach max capacity. The counter is incremented (by
> container max capacity) for every container create. And decremented (by chunk
> size) for every chunk write.
> Space tracking for open containers will enable adding a safety check during
> container create.
> If there is not sufficient free space in the volume, the container create
> operation can be failed.
> The scope of this jira is to just add the space tracking for Open Containers.
> Checking for space and failing container create will be introduced in a
> subsequent jira.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]