hadoop fs:du统计hdfs文件(目录下文件)大小的用法

 

[root@node218 ~]# hadoop fs -du -h /inventory5g
8.0 G    8.0 G    /inventory5g/inventory.dat
261.2 M  261.2 M  /inventory5g/inventory_1_30.dat
261.6 M  261.6 M  /inventory5g/inventory_2_30.dat
261.7 M  261.7 M  /inventory5g/inventory_3_30.dat
261.4 M  261.4 M  /inventory5g/inventory_4_30.dat
3.2 G    3.2 G    /inventory5g/store_returns.dat

 

posted @ 2023-01-04 14:47  李小期  阅读(127)  评论(0)    收藏  举报