Home > Software > BIGDATA > HADOOP
Interview Questions   Tutorials   Discussions   Programs   Videos   Discussion   

HADOOP - Map Side Join And Reduce Side Join?

asked marvit January 23, 2015 12:17 PM  

Map Side Join And Reduce Side Join


1 Answers

answered By   0  

Map side Join Joining at map side performs the join before data reached to map. function It expects a strong prerequisite before joining data at map side. Both joining techniques comes with it’s own kind of pros and cons. Map side join could be more efficient to reduce side but strict format requirement is very tough to meet natively. however if we would prepare this kind of data through some other MR jobs, will loose the expected performance over reduce side join.

Data should be partitioned and sorted in particular way. Each input data should be divided in same number of partition. Must be sorted with same key. All the records for a particular key must reside in the same partition. Reduce Side Join Reduce side join also called as Repartitioned join or Repartitioned sort merge join and also it is mostly used join type. This type of join would be performed at reduce side. i.e it will have to go through sort and shuffle phase which would incur network overhead. to make it simple we are going to add the steps needs to be performed for reduce side join. Reduce side join uses few terms like data source, tag and group key lets be familiar with it.

Data Source is referring to data source files, probably taken from RDBMS Tag would be used to tag every record with it’s source name, so that it’s source can be identified at any given point of time be it is in map/reduce phase. why it is required will cover it later. Group key is referring column to be used as join key between two data sources.

   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  1 person following this question

  5 people following this tag

  Question tags

hadoop × 7

Asked 3 years and 10 months ago ago
Number of Views -1471
Number of Answers -1
Last updated
3 years and 10 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!