[
https://issues.apache.org/jira/browse/HDFS-10471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312155#comment-15312155
]
Yiqun Lin edited comment on HDFS-10471 at 6/2/16 11:30 AM:
-----------------------------------------------------------
Thanks [~ajisakaa] for reivewing. Attach a patch for addressing the comment.
was (Author: linyiqun):
Thanks [~ajisakaa] for reivewing. Attach a patch fot addressing the comment.
> DFSAdmin#SetQuotaCommand's help msg is not correct
> --------------------------------------------------
>
> Key: HDFS-10471
> URL: https://issues.apache.org/jira/browse/HDFS-10471
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.7.1
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Priority: Minor
> Attachments: HDFS-10471.001.patch, HDFS-10471.002.patch,
> HDFS-10471.003.patch
>
>
> The help message of the command that related with SetQuota is not show
> correct. In message, the name {{quota}} was showed as {{N}}. The {{N}} was
> not appeared before.
> {noformat}
> -setQuota <quota> <dirname>...<dirname>: Set the quota <quota> for each
> directory <dirName>.
> The directory quota is a long integer that puts a hard limit
> on the number of names in the directory tree
> For each directory, attempt to set the quota. An error will be
> reported if
> 1. N is not a positive integer, or
> 2. User is not an administrator, or
> 3. The directory does not exist or is a file.
> Note: A quota of 1 would force the directory to remain empty.
> {noformat}
> The command {{-setSpaceQuota}} also has similar problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]