hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10471) DFSAdmin#SetQuotaCommand's help msg is not correct
Date Thu, 02 Jun 2016 08:46:59 GMT

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

Akira AJISAKA commented on HDFS-10471:
--------------------------------------

Thanks [~linyiqun] for updating the patch.
{code}
      "\t\t1. quota is not a positive integer, or\n" +
{code}
1. Zero space quota is valid (HDFS-10242), so would you update this sentence as "quota is
not a positive integer or zero"?
2. (minor nit) Would you fix the checkstyle warnings?


> 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
>
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message