hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Reading files from a directory
Date Tue, 13 Nov 2012 12:54:27 GMT
Yes you need to list all files, or the files you need, and then read
them in serial or parallel order (per your preference). A "directory"
can't be read on its own.

On Tue, Nov 13, 2012 at 7:10 AM, Mohit Anchlia <mohitanchlia@gmail.com> wrote:
> Using Java dfs api is it possible to read all the files in a directory? Or
> do I need to list all the files in the directory and then read it?



-- 
Harsh J

Mime
View raw message