[ https://issues.apache.org/jira/browse/HDFS-11550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anu Engineer updated HDFS-11550: -------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: HDFS-7240 Status: Resolved (was: Patch Available) [~cheersyang] Thank you for the contribution. I have committed this patch to the feature branch. > Ozone: Add a check to prevent removing a container that has keys in it > ---------------------------------------------------------------------- > > Key: HDFS-11550 > URL: https://issues.apache.org/jira/browse/HDFS-11550 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Fix For: HDFS-7240 > > Attachments: HDFS-11550-HDFS-7240.001.patch, > HDFS-11550-HDFS-7240.002.patch, HDFS-11550-HDFS-7240.003.patch, > HDFS-11550-HDFS-7240.004.patch, HDFS-11550-HDFS-7240.005.patch > > > The Storage Container remove call must check if there are keys in the > container before removing itself. if not it should return an error, > ERROR_CONTAINER_NOT_EMPTY. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org