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.

Comments

Popular Posts

The Growth of Machine Learning till TensorFlow

How to Fix Python Syntax Errors Quickly

7 AWS Interview Questions asked in Infosys, TCS

How to Use the ps Command in Linux

The best 5 differences of AWS EMR and Hadoop

Hyperledger Fabric: 20 Real Interview Questions

How to Decode TLV Quickly

AWS Vs Azure Load Balancers Top Insights

QlikView Server vs Publisher Top Differences Really Useful to Your Project

Top 10 SCALA Quiz Questions for Programmers