19 August 2015

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.

No comments:

Post a Comment

Thanks for your message. We will get back you.

© 2010-2017 Biganalytics.me. All rights reserved.. Powered by Blogger.

Total Pageviews

All material, files, logos and trademarks within this site are properties of their respective organizations.