hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: recursive list in java without block
Date Thu, 16 May 2013 22:59:30 GMT
The FileSystem API doesn't provide a utility to do recursive listing
yet, so you'd have to build it on your own.

MR and the Fs Shell, both do seem to have inbuilt support for such a
utility though.

On Fri, May 17, 2013 at 3:25 AM, Ankit Bhatnagar
<ankit_impression@yahoo.com> wrote:
> Hi folks,
>
> How can I get a recursive listing of file using java code from HDFS (hadoop
> 0.23.7*)
> i mean equivalent to ls  -R?
>
> Ankit



-- 
Harsh J

Mime
View raw message