This is an automated email from the ASF dual-hosted git repository. zhangshuyan pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new e91daae31872 HDFS-17152. Fix the documentation of count command in FileSystemShell.md. (#5939). Contributed by farmmamba. e91daae31872 is described below commit e91daae31872531d11cc05a14b2dcfe38ce626bb Author: hfutatzhanghb <hfutzhan...@163.com> AuthorDate: Mon Dec 11 16:53:37 2023 +0800 HDFS-17152. Fix the documentation of count command in FileSystemShell.md. (#5939). Contributed by farmmamba. Reviewed-by: Shilun Fan <slfan1...@apache.org> Signed-off-by: Shuyan Zhang <zhangshu...@apache.org> --- .../hadoop-common/src/site/markdown/FileSystemShell.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md index 451b33d74faa..bbc927714413 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md @@ -137,13 +137,13 @@ Usage: `hadoop fs -count [-q] [-h] [-v] [-x] [-t [<storage type>]] [-u] [-e] [-s Count the number of directories, files and bytes under the paths that match the specified file pattern. Get the quota and the usage. The output columns with -count are: DIR\_COUNT, FILE\_COUNT, CONTENT\_SIZE, PATHNAME -The -u and -q options control what columns the output contains. -q means show quotas, -u limits the output to show quotas and usage only. +The -u and -q options control what columns the output contains. -q means show quotas and usage, -u limits the output to show quotas only. The output columns with -count -q are: QUOTA, REMAINING\_QUOTA, SPACE\_QUOTA, REMAINING\_SPACE\_QUOTA, DIR\_COUNT, FILE\_COUNT, CONTENT\_SIZE, PATHNAME The output columns with -count -u are: QUOTA, REMAINING\_QUOTA, SPACE\_QUOTA, REMAINING\_SPACE\_QUOTA, PATHNAME -The -t option shows the quota and usage for each storage type. The -t option is ignored if -u or -q option is not given. The list of possible parameters that can be used in -t option(case insensitive except the parameter ""): "", "all", "ram_disk", "ssd", "disk" or "archive". +The -t option shows the quota and usage for each storage type. The -t option is ignored if -u or -q option is not given. The list of possible parameters that can be used in -t option(case insensitive except the parameter): "", "all", "ram_disk", "ssd", "disk" or "archive". The -h option shows sizes in human readable format. --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org