摘要: 附录之前总结的一个例子: http://www.cnblogs.com/DreamDrive/p/7398455.html 另外两个有价值的博文: http://www.cnblogs.com/xuxm2007/archive/2011/09/03/2165805.html http://blog. 阅读全文
posted @ 2017-10-19 16:50 SummerChill 阅读(2360) 评论(0) 推荐(0) 编辑
摘要: 一. MR中的join的两种方式: 1.reduce side join(面试题) reduce side join是一种最简单的join方式,其主要思想如下: 在map阶段,map函数同时读取两个文件File1和File2,为了区分两种来源的key/value对,对每条数据打一个标签(tag),比 阅读全文
posted @ 2017-10-19 15:10 SummerChill 阅读(832) 评论(0) 推荐(0) 编辑
摘要: 本文转载于:http://blog.csdn.net/xyilu/article/details/8996204 一.准备两张表以及对应的数据 (1)m_ys_lab_jointest_a(以下简称表A) 建表语句: 具体数据如下: (2)m_ys_lab_jointest_b(以下简称表B) 建表 阅读全文
posted @ 2017-10-19 13:41 SummerChill 阅读(604) 评论(0) 推荐(0) 编辑