[
https://issues.apache.org/jira/browse/HDFS-7814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-7814:
--------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
+1 for the patch. The test failures are unrelated and tracked elsewhere. I
committed this to trunk and branch-2. Thank you for fixing this, Xiaoyu.
> Fix usage string of storageType parameter for "dfsadmin
> -setSpaceQuota/clrSpaceQuota"
> -------------------------------------------------------------------------------------
>
> Key: HDFS-7814
> URL: https://issues.apache.org/jira/browse/HDFS-7814
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Priority: Minor
> Fix For: 2.7.0
>
> Attachments: HDFS-7814.00.patch
>
>
> This was found when I'm documenting the quota by storage type feature. The
> current usage string to set/clear quota by storage type which put the
> -storageType prameter after dirnames is incorrect.
> "hdfs dfsadmin -setSpaceQuota/clrSpaceQuota <quota> <dirname>...<dirname>
> -storageType <storagetype>".
> The correct one should be:
> "hdfs dfsadmin -setSpaceQuota/clrSpaceQuota <quota> [-storageType
> <storagetype>] <dirname>...<dirname>"
> I will post the fix shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)