HDFS-7670. HDFS Quota guide has typos, incomplete command lines (Brahma Reddy Battula via aw)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/84cc071a Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/84cc071a Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/84cc071a Branch: refs/heads/YARN-2928 Commit: 84cc071a7bfc9ba7ec1674fd41a38a33fd9cdf12 Parents: 30b797e Author: Allen Wittenauer <[email protected]> Authored: Mon Feb 9 12:54:03 2015 -0800 Committer: Allen Wittenauer <[email protected]> Committed: Mon Feb 9 12:54:03 2015 -0800 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/site/apt/HdfsQuotaAdminGuide.apt.vm | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/84cc071a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 4396e3d..0d9000a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -287,6 +287,9 @@ Trunk (Unreleased) HDFS-7751. Fix TestHDFSCLI for quota with storage type. (Xiaoyu Yao via szetszwo) + HDFS-7670. HDFS Quota guide has typos, incomplete command lines + (Brahma Reddy Battula via aw) + Release 2.7.0 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/84cc071a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsQuotaAdminGuide.apt.vm ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsQuotaAdminGuide.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsQuotaAdminGuide.apt.vm index 0821946..222cfbf 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsQuotaAdminGuide.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/HdfsQuotaAdminGuide.apt.vm @@ -71,20 +71,20 @@ HDFS Quotas Guide Quotas are managed by a set of commands available only to the administrator. - * <<<dfsadmin -setQuota <N> <directory>...<directory> >>> + * <<<hdfs dfsadmin -setQuota <N> <directory>...<directory> >>> Set the name quota to be N for each directory. Best effort for each directory, with faults reported if N is not a positive long integer, the directory does not exist or it is a file, or the directory would immediately exceed the new quota. - * <<<dfsadmin -clrQuota <directory>...<directory> >>> + * <<<hdfs dfsadmin -clrQuota <directory>...<directory> >>> Remove any name quota for each directory. Best effort for each directory, with faults reported if the directory does not exist or it is a file. It is not a fault if the directory has no quota. - * <<<dfsadmin -setSpaceQuota <N> <directory>...<directory> >>> + * <<<hdfs dfsadmin -setSpaceQuota <N> <directory>...<directory> >>> Set the space quota to be N bytes for each directory. This is a hard limit on total size of all the files under the directory tree. @@ -96,7 +96,7 @@ HDFS Quotas Guide integer, the directory does not exist or it is a file, or the directory would immediately exceed the new quota. - * <<<dfsadmin -clrSpaceQuota <directory>...<director> >>> + * <<<hdfs dfsadmin -clrSpaceQuota <directory>...<directory> >>> Remove any space quota for each directory. Best effort for each directory, with faults reported if the directory does not exist or @@ -107,7 +107,7 @@ HDFS Quotas Guide An an extension to the count command of the HDFS shell reports quota values and the current count of names and bytes in use. - * <<<fs -count -q <directory>...<directory> >>> + * <<<hadoop fs -count -q <directory>...<directory> >>> With the -q option, also report the name quota value set for each directory, the available name quota remaining, the space quota
