You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by ch huang <ju...@gmail.com> on 2014/01/09 01:57:58 UTC

how to caculate a HDFS directory size ?

hi,maillist:
          i want to caculate the size of a HDFS directory ,how to do it ?

RE: how to caculate a HDFS directory size ?

Posted by java8964 <ja...@hotmail.com>.
Or even easier like this:
hadoop fs -dus /path

> From: jing@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 <ju...@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.
 		 	   		  

RE: how to caculate a HDFS directory size ?

Posted by java8964 <ja...@hotmail.com>.
Or even easier like this:
hadoop fs -dus /path

> From: jing@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 <ju...@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.
 		 	   		  

RE: how to caculate a HDFS directory size ?

Posted by java8964 <ja...@hotmail.com>.
Or even easier like this:
hadoop fs -dus /path

> From: jing@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 <ju...@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.
 		 	   		  

RE: how to caculate a HDFS directory size ?

Posted by java8964 <ja...@hotmail.com>.
Or even easier like this:
hadoop fs -dus /path

> From: jing@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 <ju...@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.
 		 	   		  

Re: how to caculate a HDFS directory size ?

Posted by Jing Zhao <ji...@hortonworks.com>.
You may want to check the fs shell command COUNT and DU.

On Wed, Jan 8, 2014 at 4:57 PM, ch huang <ju...@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.

Re: how to caculate a HDFS directory size ?

Posted by Jing Zhao <ji...@hortonworks.com>.
You may want to check the fs shell command COUNT and DU.

On Wed, Jan 8, 2014 at 4:57 PM, ch huang <ju...@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.

Re: how to caculate a HDFS directory size ?

Posted by Jing Zhao <ji...@hortonworks.com>.
You may want to check the fs shell command COUNT and DU.

On Wed, Jan 8, 2014 at 4:57 PM, ch huang <ju...@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.

Re: how to caculate a HDFS directory size ?

Posted by Jing Zhao <ji...@hortonworks.com>.
You may want to check the fs shell command COUNT and DU.

On Wed, Jan 8, 2014 at 4:57 PM, ch huang <ju...@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.