{"id":945,"date":"2019-03-19T06:11:36","date_gmt":"2019-03-19T06:11:36","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=945"},"modified":"2020-07-10T05:18:55","modified_gmt":"2020-07-10T05:18:55","slug":"hadoop-map_side-join-in-hive","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/","title":{"rendered":"Hadoop-Map_Side Join in Hive"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1113\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\" alt=\"\" width=\"828\" height=\"315\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg 828w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-300x114.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-768x292.jpg 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/p>\n<p><strong>\u2666 Create two tables<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-946\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-19.png\" alt=\"\" width=\"665\" height=\"169\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-19.png 665w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-19-300x76.png 300w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/strong><\/p>\n<p><strong>\u2666 Copy the file or document in HDFS for both the tables:<\/strong><br \/>\n<center><br \/>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Display ads --><br \/>\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-9274026754180580\"\n     data-ad-slot=\"1830863328\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\n<\/center><br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-947\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-18.png\" alt=\"\" width=\"659\" height=\"172\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-18.png 659w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-18-300x78.png 300w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/strong><\/p>\n<p><strong>\u2666 Load the data of the files into the tables:<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-948\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-19.png\" alt=\"\" width=\"667\" height=\"144\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-19.png 667w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-19-300x65.png 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-949\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-15.png\" alt=\"\" width=\"504\" height=\"106\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-15.png 664w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-15-300x63.png 300w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/strong><\/p>\n<p><strong>\u2666 Run the join task by Map-Side Join<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-950\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-15.png\" alt=\"\" width=\"667\" height=\"421\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-15.png 667w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-15-300x189.png 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/strong><\/p>\n<p><strong>\u2666 Join by Reduce-side :<\/strong><br \/>\n<center><br \/>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Display ads --><br \/>\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-9274026754180580\"\n     data-ad-slot=\"1830863328\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\n<\/center><br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-951\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-15.png\" alt=\"\" width=\"667\" height=\"418\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-15.png 667w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-15-300x188.png 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/strong><\/p>\n<p><strong>\u2666 As we can see, the time taken in map-side join is less than that in reduce-side.<\/strong><\/p>\n<p><strong>Hence, Map-Side Join is more efficient when one of the table is small enough to fit in the memory.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2666 Create two tables \u2666 Copy the file or document in HDFS for both the tables: \u2666 Load the data of the files into the tables: \u2666 Run the join task by Map-Side Join \u2666 Join by Reduce-side : \u2666 As we can see, the time taken in map-side join is less than that in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-945","post","type-post","status-publish","format-standard","hentry","category-hadoop"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Map Side Join in Hadoop Hive? | An Overview<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Map Side Join in Hadoop Hive? | An Overview\" \/>\n<meta property=\"og:description\" content=\"\u2666 Create two tables \u2666 Copy the file or document in HDFS for both the tables: \u2666 Load the data of the files into the tables: \u2666 Run the join task by Map-Side Join \u2666 Join by Reduce-side : \u2666 As we can see, the time taken in map-side join is less than that in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-19T06:11:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-10T05:18:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/\",\"url\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/\",\"name\":\"What is Map Side Join in Hadoop Hive? | An Overview\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\",\"datePublished\":\"2019-03-19T06:11:36+00:00\",\"dateModified\":\"2020-07-10T05:18:55+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\",\"width\":828,\"height\":315},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hadoop-Map_Side Join in Hive\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Map Side Join in Hadoop Hive? | An Overview","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"What is Map Side Join in Hadoop Hive? | An Overview","og_description":"\u2666 Create two tables \u2666 Copy the file or document in HDFS for both the tables: \u2666 Load the data of the files into the tables: \u2666 Run the join task by Map-Side Join \u2666 Join by Reduce-side : \u2666 As we can see, the time taken in map-side join is less than that in [&hellip;]","og_url":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-03-19T06:11:36+00:00","article_modified_time":"2020-07-10T05:18:55+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/","url":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/","name":"What is Map Side Join in Hadoop Hive? | An Overview","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","datePublished":"2019-03-19T06:11:36+00:00","dateModified":"2020-07-10T05:18:55+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","width":828,"height":315},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-map_side-join-in-hive\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Hadoop-Map_Side Join in Hive"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=945"}],"version-history":[{"count":5,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/945\/revisions"}],"predecessor-version":[{"id":3187,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/945\/revisions\/3187"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}