hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Binglin Chang <decst...@gmail.com>
Subject Re: Helper files in python
Date Thu, 29 Aug 2013 03:56:03 GMT
If you mean to make those files available in map/reduce tasks:
How about put them in one directory, say "app", and specify -file app
-mapper app/xxx -reducer app/xx...  , hadoop will pack entire dir for you.


On Thu, Aug 29, 2013 at 7:49 AM, Chengi Liu <chengi.liu.86@gmail.com> wrote:

> Hi,
>  I have four files
> mapper.py
> mapper_helper.py
> reducer.py
> reducer_helper.py
>
> How do i specify those helper files in hadoop?
> Thanks
>

Mime
View raw message