Re: Provide context to map function

2013-04-02 Thread Yanbo Liang
different files) and one reducer - The mapper code for two different files is the same, except for minor change which depends on which file is being read - Essentially assume there is an if statement - if first file is being read do this else do this So how do I provide this context to map

Re: Provide context to map function

2013-04-02 Thread Dino Kečo
change which depends on which file is being read - Essentially assume there is an if statement - if first file is being read do this else do this So how do I provide this context to map function i.e. file name or say a boolean flag variable indicating the file being read? Thanks

Provide context to map function

2013-04-01 Thread Abhinav M Kulkarni
read do this else do this So how do I provide this context to map function i.e. file name or say a boolean flag variable indicating the file being read? Thanks, Abhinav

Re: Provide context to map function

2013-04-01 Thread Azuryy Yu
how do I provide this context to map function i.e. file name or say a boolean flag variable indicating the file being read? Thanks, Abhinav

Re: Provide context to map function

2013-04-01 Thread Abhinav M Kulkarni
do this else do this So how do I provide this context to map function i.e. file name or say a boolean flag variable indicating the file being read? Thanks, Abhinav