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 <ha...@cloudera.com> 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 > <bugcy...@gmail.com> 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 >