[ https://issues.apache.org/jira/browse/HADOOP-6012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghu Angadi updated HADOOP-6012: --------------------------------- Attachment: HADOOP-6012.patch Attached patch fixed above issues. Help message: * Before : {noformat} $ bin/hdfs dfsadmin -help -setSpaceQuota -setSpaceQuota <quota> <dirname>...<dirname>: Set the disk space 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. Quota can also be speciefied with a binary prefix for terabytes, petabytes etc (e.g. 50t is 50TB, 5m is 5MB, 3p is 3PB). [...] {noformat} * After : {noformat} $ bin/hdfs dfsadmin -help setSpaceQuota -setSpaceQuota <quota> <dirname>...<dirname>: Set the disk space quota <quota> for each directory <dirName>. The space quota is a long integer that puts a hard limit on the total size of all the files under the directory tree. The extra space required for replication is also counted. E.g. a 1GB file with replication of 3 consumes 3GB of the quota. Quota can also be speciefied with a binary prefix for terabytes, petabytes etc (e.g. 50t is 50TB, 5m is 5MB, 3p is 3PB). [...] {noformat} > Improve help message for quotas > ------------------------------- > > Key: HADOOP-6012 > URL: https://issues.apache.org/jira/browse/HADOOP-6012 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.20.0 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Priority: Minor > Fix For: 0.20.1, 0.21.0 > > Attachments: HADOOP-6012.patch > > > There are a few issues with quotas help messages. > Space Quotas : > # It is not clear to the users that space quota counts replication as well. > i.e. with a replication of 3, user needs 3GB of quota to be able to write 1GB > file. should makes this explicit in the message > # There is a cut-n-paste error in the help message. > All quota commands : > * user needs to type {{'dfsadmin \-help \-setQuota'}} (note '\-'before > setQuota), where as for the rest of the dfsadmin (and fs) commands '-' is not > required. Should make this consistent. > Since this is documentation only fix, I would like to commit it to 0.20.1 > also. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.