hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8184) Illegal Option is displayed while executing clrSpaceQuota with -storageType option
Date Fri, 24 Apr 2015 07:05:39 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoyu Yao updated HDFS-8184:
-----------------------------
    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

This one shares the same root cause as HDFS-8205. The right fix should be in CommandFormat#parse().

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

Mime
View raw message