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

Hudson commented on HDFS-8711:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2177 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2177/])
HDFS-8711. setSpaceQuota command should print the available storage type when 
input storage type is wrong. Contributed by Brahma Reddy Battula. (xyao: rev 
b68701b7b2a9597b4183e0ba19b1551680d543a1)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java


> 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: Improvement
>          Components: hdfs-client
>    Affects Versions: 2.7.0
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>              Labels: reviewed
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8711-01.patch, 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)

Reply via email to