查看hadoop目录下文件大小

17:12 [[email protected]]$ hadoop fs -du -s /source/ent/laifeng/generalbusiness
79298026603  /source/ent/laifeng/generalbusiness
tty:[14] jobs:[0] cwd:[~]
17:12 [[email protected]]$ hadoop fs -du -h /source/ent/laifeng/generalbusiness
23.9 M   /source/ent/laifeng/generalbusiness/20140917
22.2 M   /source/ent/laifeng/generalbusiness/20140918
19.4 M   /source/ent/laifeng/generalbusiness/20140919
17.5 M   /source/ent/laifeng/generalbusiness/20140920
17.6 M   /source/ent/laifeng/generalbusiness/20140921
17:17 [[email protected]]$ hadoop fs -du -s -h /source/ent/laifeng/generalbusiness
73.9 G  /source/ent/laifeng/generalbusiness

hadoopfs-du-h/warehouse/hive/warehouse/

38.1T/warehouse/hive/warehouse/ent.db

相关推荐