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 <oruchov...@gmail.com>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
> different
> 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
> Oleg.
>



-- 
Best Regards

Jeff Zhang

Reply via email to