|
|
+
santosh gandham 2009-11-09, 18:25
-
Re: using files in local file systemBoris Shkolnik 2009-11-09, 22:09
When you create FileSystem object you may specify that you want a
LocalFileSystem. That will give you access to local files. (e.g. FileContext.GetLocalFSFileContext()) Boris. On 11/9/09 10:25 AM, "santosh gandham" <[EMAIL PROTECTED]> wrote: > Hi, > I am new to Hadoop. I am trying yo use Hadoop streaming utility. In map > reduce program I want to use the files in Local file System. Should I need > to copy them into HDFS, if I want to use them? or is there any way that I > can access them from local file system itself? If I have to copy into HDFS > and use, how can I use or how can I specify in my program such that, my > program will access the file in HDFS? And if I can use directly from local > file system, how can I use? Can any one help me please. Thank you so much. |