Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Added -v option to fs -count command to display a header record in the report.
Description
These commands should label the output columns:
hadoop dfs -count <dir>...<dir> hadoop dfs -count -q <dir>...<dir>
Current output of the 2nd command above:
% hadoop dfs -count -q /user/foo /tmp none inf 9569 9493 6372553322 hdfs://nn1.bar.com/user/foo none inf 101 2689 209349812906 hdfs://nn1.bar.com/tmp
It is not obvious what these columns mean.
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-2049 Should add the column name tips for HDFS shell command
- Resolved
- is duplicated by
-
HDFS-11801 Extra argument for header in dfs -count output
- Resolved
- relates to
-
HDFS-7701 Support reporting per storage type quota and usage with hadoop/hdfs shell
- Resolved