HDFS-7670. HDFS Quota guide has typos, incomplete command lines (Brahma Reddy Battula via aw)
This commit is contained in:
parent
30b797ee9d
commit
84cc071a7b
@ -287,6 +287,9 @@ Trunk (Unreleased)
|
|||||||
HDFS-7751. Fix TestHDFSCLI for quota with storage type. (Xiaoyu Yao
|
HDFS-7751. Fix TestHDFSCLI for quota with storage type. (Xiaoyu Yao
|
||||||
via szetszwo)
|
via szetszwo)
|
||||||
|
|
||||||
|
HDFS-7670. HDFS Quota guide has typos, incomplete command lines
|
||||||
|
(Brahma Reddy Battula via aw)
|
||||||
|
|
||||||
Release 2.7.0 - UNRELEASED
|
Release 2.7.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -71,20 +71,20 @@ HDFS Quotas Guide
|
|||||||
Quotas are managed by a set of commands available only to the
|
Quotas are managed by a set of commands available only to the
|
||||||
administrator.
|
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
|
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
|
directory, with faults reported if N is not a positive long
|
||||||
integer, the directory does not exist or it is a file, or the
|
integer, the directory does not exist or it is a file, or the
|
||||||
directory would immediately exceed the new quota.
|
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
|
Remove any name quota for each directory. Best effort for each
|
||||||
directory, with faults reported if the directory does not exist or
|
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.
|
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
|
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.
|
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
|
integer, the directory does not exist or it is a file, or the
|
||||||
directory would immediately exceed the new quota.
|
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
|
Remove any space quota for each directory. Best effort for each
|
||||||
directory, with faults reported if the directory does not exist or
|
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
|
An an extension to the count command of the HDFS shell reports quota
|
||||||
values and the current count of names and bytes in use.
|
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
|
With the -q option, also report the name quota value set for each
|
||||||
directory, the available name quota remaining, the space quota
|
directory, the available name quota remaining, the space quota
|
||||||
|
Loading…
Reference in New Issue
Block a user