For an example how it is done, look at FsShell#copyToLocal() and its
internal implementation. It uses FileUtil#copy() method to do this copying.
On Fri, Feb 25, 2011 at 5:08 AM, Alessandro Binhara wrote:
> How to copy a file from a HDS to local file system with a JAVA API ?
>
> where i can find
: copy a file from hdfs to local file system with java
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?
thanks
Hello,
On Fri, Feb 25, 2011 at 6:38 PM, Alessandro Binhara 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
(http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop
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?
thanks