hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Shkolnik <bo...@yahoo-inc.com>
Subject Re: using files in local file system
Date Mon, 09 Nov 2009 22:09:51 GMT
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())


On 11/9/09 10:25 AM, "santosh gandham" <santhosh003@gmail.com> 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.

View raw message