Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> using files in local file system


Copy link to this message
-
Re: using files in local file system
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.