The best helpful hdfs file system commands (3 of 4)
dus-
hadoop fs -dus PATH
dus reports the sum of the file sizes in aggregate rather than individually.
expunge-
hadoop fs -expunge
Empties the trash. If the trash feature is enabled, when a file is deleted, it is first moved into the temporary Trash/folder. The file will be permanently deleted from the Trash/folder only after user-configurable delay.
get -
hadoop -fs -get [-ignorecrc] [-crc] SRC
LOCASDST
Copies files to the local file system.
hadoop fs -dus PATH
dus reports the sum of the file sizes in aggregate rather than individually.
expunge-
hadoop fs -expunge
Empties the trash. If the trash feature is enabled, when a file is deleted, it is first moved into the temporary Trash/folder. The file will be permanently deleted from the Trash/folder only after user-configurable delay.
get -
hadoop -fs -get [-ignorecrc] [-crc] SRC
LOCASDST
Copies files to the local file system.
Comments
Post a Comment
Thanks for your message. We will get back you.