hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8711) setSpaceQuota command should print the available storage type when input storage type is wrong
Date Thu, 02 Jul 2015 10:19:04 GMT

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

Surendra Singh Lilhore commented on HDFS-8711:
----------------------------------------------

Attached patch, Please review...

> setSpaceQuota command should print the available storage type when input storage type
is wrong
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8711
>                 URL: https://issues.apache.org/jira/browse/HDFS-8711
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.7.0
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HDFS-8711.patch
>
>
> If input storage type is wrong then currently *setSpaceQuota* give exception like this.
> {code}
> ./hdfs dfsadmin -setSpaceQuota 10000000 -storageType COLD /testDir
>  setSpaceQuota: No enum constant org.apache.hadoop.fs.StorageType.COLD
> {code}
> It should be 
> {code}
> setSpaceQuota: Storage type COLD not available. Available storage type are [SSD, DISK,
ARCHIVE]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message