[ https://issues.apache.org/jira/browse/HDFS-11675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989031#comment-15989031 ]
Anu Engineer commented on HDFS-11675: ------------------------------------- [~xyao] [~vagarychen] [~yuanbo] I will commit this shortly if there are no further comments. Just a qucik summary: with this change, we will delete the containers on the datanode when you run "del" command, but not inside the SCM. So _deleting and re-creating a container will not work_ correctly for now. We have filed another jira HDFS-11716 to track and fix that issue. > Ozone: SCM CLI: Implement delete container command > -------------------------------------------------- > > Key: HDFS-11675 > URL: https://issues.apache.org/jira/browse/HDFS-11675 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Labels: command-line > Attachments: HDFS-11675-HDFS-7240.001.patch, > HDFS-11675-HDFS-7240.002.patch, HDFS-11675-HDFS-7240.003.patch, > HDFS-11675-HDFS-7240.004.patch > > > Implement delete container > {code} > hdfs scm -container del <container name> -f > {code} > Deletes a container if it is empty. The -f options can be used to force a > delete of a non-empty container. If container name specified not exist, > prints a clear error message. -- 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