Re: copy a file from hdfs to local file system with java

2011-02-25 Thread suresh srinivas
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

Re: copy a file from hdfs to local file system with java

2011-02-25 Thread Ayon Sinha
: 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

Re: copy a file from hdfs to local file system with java

2011-02-25 Thread Harsh J
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

copy a file from hdfs to local file system with java

2011-02-25 Thread Alessandro Binhara
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