Reducing Imbalance Ratio in MapReduce

Hsing-Lung Chen, Y. Shen
{"title":"Reducing Imbalance Ratio in MapReduce","authors":"Hsing-Lung Chen, Y. Shen","doi":"10.1109/SC2.2017.54","DOIUrl":null,"url":null,"abstract":"In order to speed up the processing, MapReduce invokes many mappers and reducers concurrently. Each mapper sends the intermediate map-outputs to reducers according to the key of data. For some big data with the property of data skew, some partitions will own a huge amounts of data. Thus, some reducers need more time to process their assigned partitions, resulting in increasing the total execution time. This paper proposes a balanced partition method to divide the intermediate map-outputs evenly. The balanced partition method has a preprocessing mapreduce (mapper1 and reducer1) by which partitioner is derived. The mapper1 is used to counting key frequencies by employing trie data structure efficiently. In reducer1, based on all the key frequencies, many sub-partitions are derived by cut-points and these sub-partitions are evenly distributed to partitions. The cut-points and the mapping table are used in every mappers of the application mapreduce for partitioning the intermediate map-outputs evenly, resulting in reducing the execution time.","PeriodicalId":188326,"journal":{"name":"2017 IEEE 7th International Symposium on Cloud and Service Computing (SC2)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE 7th International Symposium on Cloud and Service Computing (SC2)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SC2.2017.54","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

In order to speed up the processing, MapReduce invokes many mappers and reducers concurrently. Each mapper sends the intermediate map-outputs to reducers according to the key of data. For some big data with the property of data skew, some partitions will own a huge amounts of data. Thus, some reducers need more time to process their assigned partitions, resulting in increasing the total execution time. This paper proposes a balanced partition method to divide the intermediate map-outputs evenly. The balanced partition method has a preprocessing mapreduce (mapper1 and reducer1) by which partitioner is derived. The mapper1 is used to counting key frequencies by employing trie data structure efficiently. In reducer1, based on all the key frequencies, many sub-partitions are derived by cut-points and these sub-partitions are evenly distributed to partitions. The cut-points and the mapping table are used in every mappers of the application mapreduce for partitioning the intermediate map-outputs evenly, resulting in reducing the execution time.
减少MapReduce中的失衡比例
为了加快处理速度,MapReduce并发地调用了许多映射器和reducer。每个映射器根据数据的键值将中间映射输出发送给reducer。对于一些具有数据倾斜属性的大数据,一些分区会拥有大量的数据。因此,一些reducer需要更多的时间来处理它们分配的分区,从而增加了总执行时间。本文提出了一种平衡划分方法,对中间映射输出进行均匀划分。平衡分区方法有一个预处理mapreduce (mapper1和reducer1),通过它派生分区器。mapper1采用trie数据结构,有效地实现了键频率的计数。在reducer1中,基于所有的键频率,通过切割点派生出许多子分区,并且这些子分区均匀地分布到分区中。在应用程序mapreduce的每个映射器中使用截断点和映射表,以便均匀地对中间映射输出进行分区,从而减少执行时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信