-Re: copy files to HDFS protocols
Jeff Zhang 2010-06-30, 09:19
1. You can use mount the files on another machine to your local machine, and
invoke the copyFromLocal
2. Sure, you can write stream to HDFS, but I'm afraid you have to use Java
API of hadoop, refer FileSystem.java in hadoop
On Wed, Jun 30, 2010 at 4:59 PM, Oleg Ruchovets <[EMAIL PROTECTED]>wrote:
> Hi ,
> I use HDFS Shell to copy files from local FileSystem to Hadoop HDFS.
> (copyFromLocal command).
> 1) How can I provide Path to file which locates on local FS but on
> machine then hadoop locates?
> 2) What other protocols (way) can I use to write files to HDFS? Is it
> possible to use streaming data to write to HDFS ?
> Thank in Advance