Replies: 1 comment 4 replies
-
|
Would it be possible to get a response to this? I am happy to make a PR to change the logic, and add a conditional for this specific case. But I would like to understand the original purpose of the logic check. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all, in my Ozone cluster I have noticed that I accrued a large amount of empty containers that only exist on the SCM, and are never cleaned up. See example output from one of these containers:
These containers stack up over time and take up space (currently 70gb on this cluster). Looking at the source code for the container deletion logic:
/workspaces/ozone/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/health/EmptyContainerHandler.java
Containers are only considered Empty and Closed if there are not any replicas associated with it. Thus the example container will never be deleted with the current logic. What is the reasoning behind this decision? Is there anyway to circumvent it with a cli command?
Beta Was this translation helpful? Give feedback.
All reactions