“count”
command is used to count the number of directories, files and bytes under the
paths that match the specified file pattern.
Usage:
hadoop fs [generic options] -count [-q] [-h] <path> ...
hadoop fs [generic options] -count [-q] [-h] <path> ...
$hadoop fs -count -h -v /user/cloudera/demo2
DIR_COUNT FILE_COUNT CONTENT_SIZE PATHNAME
1 5 8.7 M /user/cloudera/demo2
Referred Articles
No comments:
Post a Comment