Hi Steve, You may use the shell command "hadoop fs -count" or calling FileSystem.getContentSummary(Path f) in Java.
Hope it helps. Tsz-Wo ________________________________ From: Steve Lewis <lordjoe2...@gmail.com> To: mapreduce-user <mapreduce-u...@hadoop.apache.org>; hdfs-user@hadoop.apache.org Sent: Tuesday, October 25, 2011 5:51 PM Subject: Has anyone written a program to show total use on hdfs by directory While I can see file sizes with the web interface, it is very difficult to tell which directories are taking up space especially when nested by several levels -- Steven M. Lewis PhD 4221 105th Ave NE Kirkland, WA 98033 206-384-1340 (cell) Skype lordjoe_com