hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Capture Directory Context in Hadoop Mapper
Date Thu, 30 Jan 2014 06:15:12 GMT
Hi,

These posts are nicely written - thanks for sharing! Have you also
taken a look at the MultipleInputs feature, which gives you a cleaner
approach? http://hadoop.apache.org/docs/stable2/api/org/apache/hadoop/mapreduce/lib/input/MultipleInputs.html

On Thu, Jan 30, 2014 at 4:16 AM, Felix Chern <idryman@gmail.com> wrote:
> Hi all,
>
> I wrote a tutorial of how to receive path information in Mapper class. It's
> useful in our hadoop use case where we need to apply different logic on
> different input source directory. Enjoy!
>
> http://www.idryman.org/blog/2014/01/26/capture-directory-context-in-hadoop-mapper/
> http://www.idryman.org/blog/2014/01/27/capture-path-info-in-hadoop-inputformat-class/
>
> Felix



-- 
Harsh J

Mime
View raw message