首页 | 本学科首页   官方微博 | 高级检索  
     

MapReduce与Spark用于大数据分析之比较
引用本文:吴信东,嵇圣硙.MapReduce与Spark用于大数据分析之比较[J].软件学报,2018,29(6):1770-1791.
作者姓名:吴信东  嵇圣硙
作者单位:合肥工业大学 计算机与信息学院, 安徽 合肥 230009;路易斯安那大学拉法叶分校 计算与信息学院, 路易斯安那 拉法叶 70504,合肥工业大学 计算机与信息学院, 安徽 合肥 230009
基金项目:国家重点研发计划(2016YFB1000901);国家自然科学基金重点项目(91746209);教育部创新团队项目(IRT17R3)
摘    要:随着大数据时代的到来,海量数据的分析与处理已成为一个关键的计算问题.本文评述了MapReduce与Spark两种大数据计算算法和架构,从背景、原理以及应用场景进行分析和比较,并对两种算法各自优点以及相应的限制做出了总结.当处理非迭代问题时,MapReduce凭借其自身的任务调度策略和shuffle机制,在中间数据传输数量以及文件数目方面性能要优于Spark;而在处理迭代问题和一些低延迟问题时,Spark可以根据数据之间的依赖关系对任务进行更合理的划分,相较于MapReduce有效地减少中间数据传输数量与同步次数,提高系统的运行效率.

关 键 词:大数据  MapReduce  Spark  迭代问题  非迭代问题
收稿时间:2017/10/19 0:00:00

Comparative Study on MapReduce and Spark for Big Data Analytics
WU Xin-Dong and JI Sheng-Wei.Comparative Study on MapReduce and Spark for Big Data Analytics[J].Journal of Software,2018,29(6):1770-1791.
Authors:WU Xin-Dong and JI Sheng-Wei
Affiliation:School of Computer and Information, Hefei University of Technology, Anhui Hefei 230009, China;School of Computing and Informatics, University of Louisiana at Lafayette, Lafayette, Louisiana 70504, USA and School of Computer and Information, Hefei University of Technology, Anhui Hefei 230009, China
Abstract:With the arrival of the big data era, massive data analysis has become a key computational problem. This paper reviews two state-of-the-art algorithmic architectures, MapReduce and Spark, and compares them from their backgrounds, principles and application scenarios. The advantages and their corresponding limitations of these two algorithms are summarized. When dealing with non-iterative problems, MapReduce, by virtue of its task scheduling strategy and shuffle mechanisms, performs better than Spark in terms of intermediate data transfers and number of files. Spark can be used to deal with iterative problems and low latency issues, as it divides a computing task according to the dependencies between the data and the task. Compared with MapReduce, Spark can effectively reduce the number of intermediate data transmissions and the number of synchronizations, and improve the running efficiency of computing systems.
Keywords:big data  MapReduce  Spark  iterative problems  non-iterative problems
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号