Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Getting free and used space

Copy link to this message
Re: Getting free and used space
Both DFSClient and DistributedFileSystem have this method:
  public DiskStatus getDiskStatus() throws IOException {

You can obtain usage data from:
  public static class DiskStatus {
which is defined in

On Wed, Jun 23, 2010 at 8:49 AM, Stas Oskin <[EMAIL PROTECTED]> wrote:

> Hi there.
> I noticed that function getUsed() is no longer present in Hadoop 0.20.
> What are the new functions of getting used and free space in DFS, and are
> they working correctly, without any special admin permissions?
> Thanks!