Thursday, 16 April 2015

Filtering with Map-Only Tasks

Simple filter map task is so easy to implement that it needs only two Java Files.

Continuing from my last post, the same data is being used here to extract only an exact value from the file.

1) Mapper
2) Driver

Steps:
1) Mapper Class


2) Driver Class
           Driver class is similar to the one we wrote in my last post except the Map class changed and the Number of Reducers set to 0

3) Output:

That's all!!!

Enjoying it!!!

No comments:

Post a Comment