hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uma Maheswara Rao G 72686 <mahesw...@huawei.com>
Subject Re: Is there a good way to see how full hdfs is
Date Sat, 15 Oct 2011 11:51:31 GMT
/** Return the disk usage of the filesystem, including total capacity,
   * used space, and remaining space */
  public DiskStatus getDiskStatus() throws IOException {
    return dfs.getDiskStatus();
  }

DistributedFileSystem has the above API from java API side.

Regards,
Uma

----- Original Message -----
From: wd <wd@wdicc.com>
Date: Saturday, October 15, 2011 4:16 pm
Subject: Re: Is there a good way to see how full hdfs is
To: mapreduce-user@hadoop.apache.org

> hadoop dfsadmin -report
> 
> On Sat, Oct 15, 2011 at 8:16 AM, Steve Lewis 
> <lordjoe2000@gmail.com> wrote:
> > We have a small cluster with HDFS running on only 8 nodes - I 
> believe that
> > the partition assigned to hdfs might be getting full and
> > wonder if the web tools or java api havew a way to look at free 
> space on
> > hdfs
> >
> > --
> > Steven M. Lewis PhD
> > 4221 105th Ave NE
> > Kirkland, WA 98033
> > 206-384-1340 (cell)
> > Skype lordjoe_com
> >
> >
> >
> 

Mime
View raw message