Programming Lab 5: Reduce Side Join
- This lab demonstrates reduce-side join with different reducers
Problem to Solve
- We will work with two sets of data OrgChart and Salary, and we will need to join them together using Reduce Side join technique
- However, in some cases position description can consist of two different words and we only will compare the first one
Create Project and Link with Libraries
- Copy provided libraries and java code from USB drives
- Create project in NetBeans or Eclipse
- Link with libraries
- Create new classes for each file with the same name as file in the directory or you can copy java files to your source directory
- For detailed instructions on creating a project please refer to Programming Lab1
Walk Through
- Please, make sure to adjust input path to your local machine
- We must assign different mappers to different input folders
- Engineer salary should be applicable to Engineer and Engineer 2
- Position will be represented by Position class and we will compare and match only the first word
- The position class will implement a comparator method
Expected Result
- The expected result is the following:
No comments:
Post a Comment