[
https://issues.apache.org/jira/browse/HDFS-8184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
J.Andreina updated HDFS-8184:
-----------------------------
Attachment: HDFS-8184.1.patch
Attached an initial patch.
Please review.
> Illegal Option is displayed while executing clrSpaceQuota with -storageType
> option
> ----------------------------------------------------------------------------------
>
> Key: HDFS-8184
> URL: https://issues.apache.org/jira/browse/HDFS-8184
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 3.0.0
> Reporter: J.Andreina
> Assignee: Peter Shi
> Attachments: HDFS-8184.1.patch
>
>
> Providing "-storageType" during execution of clrSpaceQuota as per the usage
> , displays "Illegal option"
> {noformat}
> XXXXXXXXXXXXXXXXX:~/opensrc/hadoop-3.0.0-SNAPSHOT/bin> ./hdfs dfsadmin
> -setSpaceQuota 1024m -storageType DISK /Folder1
> XXXXXXXXXXXXXXXXX:~/opensrc/hadoop-3.0.0-SNAPSHOT/bin> ./hdfs dfsadmin
> -clrSpaceQuota -storageType DISK /Folder1
> clrSpaceQuota: Illegal option -storageType
> Usage: hdfs dfsadmin [-clrSpaceQuota [-storageType <storagetype>]
> <dirname>...<dirname>]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)