hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: copy a file from hdfs to local file system with java
Date Fri, 25 Feb 2011 16:47:43 GMT

On Fri, Feb 25, 2011 at 6:38 PM, Alessandro Binhara <binhara@gmail.com> wrote:
>  How to copy a file from a HDS to local file system with a JAVA API ?
> where i can find a documentation and example about it?

Have a look at the FileSystem API

You're looking for the FileSystem::copyToLocal(...) methods, specifically.

Harsh J

View raw message