Hi,

On Thu, Nov 4, 2010 at 3:12 AM, Zhenhua Guo <jen...@gmail.com> wrote:
> I know mappers can take files in HDFS as input. I wonder whether they
> can take local files as input.
> Thanks.
>
> Gerald
>

It can :)

Try with fs.default.name set to "file:///" to use the local filesystem
(and not HDFS). Or in your MR job, give the path as file://<path>
(assuming that this is available across all working nodes).

-- 
Harsh J
www.harshj.com

Reply via email to