Jyotirmoy Sinha created HDDS-7775:
-------------------------------------

             Summary: EC: Exception encountered while deleting UNHEALTHY 
replica from container 
                 Key: HDDS-7775
                 URL: https://issues.apache.org/jira/browse/HDDS-7775
             Project: Apache Ozone
          Issue Type: Bug
          Components: SCM
            Reporter: Jyotirmoy Sinha


UNHEALTHY replica is not getting deleted from container after addition of a new 
replica for the same replica index.

Exception encountered - 
{code:java}
2023-01-12 06:54:40,953 ERROR 
org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler: Received container 
deletion command for container 1001 but the container is not empty.
2023-01-12 06:54:40,953 ERROR 
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.DeleteContainerCommandHandler:
 Exception occurred while deleting the container.
org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: 
Non-force deletion of non-empty container is not allowed.
        at 
org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.deleteInternal(KeyValueHandler.java:1237)
        at 
org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.deleteContainer(KeyValueHandler.java:1149)
        at 
org.apache.hadoop.ozone.container.ozoneimpl.ContainerController.deleteContainer(ContainerController.java:182)
        at 
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.DeleteContainerCommandHandler.handleInternal(DeleteContainerCommandHandler.java:108)
        at 
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.DeleteContainerCommandHandler.lambda$handle$0(DeleteContainerCommandHandler.java:78)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
2023-01-12 06:54:40,953 ERROR 
org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler: Received container 
deletion command for container 1001 but the container is not empty. {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to