hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo \(Nicholas\), Sze" <s29752-hadoopu...@yahoo.com>
Subject Re: Has anyone written a program to show total use on hdfs by directory
Date Wed, 26 Oct 2011 01:00:22 GMT
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 <lordjoe2000@gmail.com>
To: mapreduce-user <mapreduce-user@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
Mime
View raw message