You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Peter Shi (JIRA)" <ji...@apache.org> on 2015/04/20 09:58:59 UTC

[jira] [Commented] (HDFS-8184) Illegal Option is displayed while executing clrSpaceQuota with -storageType option

    [ https://issues.apache.org/jira/browse/HDFS-8184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502487#comment-14502487 ] 

Peter Shi commented on HDFS-8184:
---------------------------------

I see the same bug, it is caused by {{CommandFormat.parse}} function.

> 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: J.Andreina
>
> 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)