You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Stas Oskin <st...@gmail.com> on 2009/04/10 23:01:02 UTC

Listing the files in HDFS directory

Hi.

I must be completely missing it in API, but what is the function to list the
directory contents?

Thanks!

Re: Listing the files in HDFS directory

Posted by Stas Oskin <st...@gmail.com>.
Hi.
Just wanted to tell that FileStatus did the trick.

Regards.

2009/4/11 Stas Oskin <st...@gmail.com>

> Hi.
>
> I must be completely missing it in API, but what is the function to list
> the directory contents?
>
> Thanks!
>