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

Switch to Threaded View
MapReduce, mail # user - How to find HDFS folders file count.


Copy link to this message
-
Re: How to find HDFS folders file count.
Mohammad Tariq 2013-02-06, 19:03
count works perfectly fine. do you need something from the API?

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com
On Wed, Feb 6, 2013 at 9:38 PM, Harsh J <[EMAIL PROTECTED]> wrote:

> You have posted the "fs -count" command which is also the answer to
> your question - does it not help?
>
> On Wed, Feb 6, 2013 at 3:56 PM, Dhanasekaran Anbalagan
> <[EMAIL PROTECTED]> wrote:
> > Hi Guys,
> >
> > We have done moving local file to HDFS
> > hadoop fs -copyFromLocal
> >
> > we have verified some of the file missing in the HDFS, We want validate
> > source to destination.
> >
> > We have already have source files count
> >
> > How to find HDFS folder file count please guide me.
> >
> > hadoop.apache.org/docs/r0.20.2/hdfs_shell.html#count
> > hadoop fs -count -q
> >
> > Did I learn something today? If not, I wasted it.
>
>
>
> --
> Harsh J
>