[
https://issues.apache.org/jira/browse/HDFS-11675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989031#comment-15989031
]
Anu Engineer edited comment on HDFS-11675 at 4/28/17 3:42 PM:
--------------------------------------------------------------
[~xyao] [~vagarychen] [~yuanbo] I will commit this shortly if there are no
further comments. Just a quick 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.
was (Author: anu):
[~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: [email protected]
For additional commands, e-mail: [email protected]