Or even easier like this:
hadoop fs -dus /path

> From: j...@hortonworks.com
> Date: Wed, 8 Jan 2014 17:07:21 -0800
> Subject: Re: how to caculate a HDFS directory size ?
> To: user@hadoop.apache.org
> 
> You may want to check the fs shell command COUNT and DU.
> 
> On Wed, Jan 8, 2014 at 4:57 PM, ch huang <justlo...@gmail.com> wrote:
> > hi,maillist:
> >           i want to caculate the size of a HDFS directory ,how to do it ?
> 
> -- 
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to 
> which it is addressed and may contain information that is confidential, 
> privileged and exempt from disclosure under applicable law. If the reader 
> of this message is not the intended recipient, you are hereby notified that 
> any printing, copying, dissemination, distribution, disclosure or 
> forwarding of this communication is strictly prohibited. If you have 
> received this communication in error, please contact the sender immediately 
> and delete it from your system. Thank You.
                                          

Reply via email to