arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1506.00449cs.DC
收藏

基于Hadoop的大规模数据排序算法的优化与分析

Optimization and analysis of large scale data sorting algorithm based on Hadoop

Zhuo Wang, Longlong Tian, Dianjie Guo, Xiaoming Jiang

摘要:

在处理海量数据排序时,我们通常使用Hadoop,这是一个框架,允许使用简单的编程模型跨计算机集群对大型数据集进行分布式处理。基于Hadoop的MapReduce中的shuffle和sort阶段是实现大数据排序的常用方法。然而,如果我们直接使用它,效率可能非常低,负载不平衡可能是一个大问题。本文对一种基于Hadoop的大规模数据排序算法进行了优化和分析的实验研究。为了达到优化,我们使用了两轮以上的MapReduce。在第一轮中,我们使用MapReduce随机抽取样本。然后,我们使用另一个MapReduce根据第一轮的结果对数据进行统一排序。实验表明,在大规模数据排序时,使用优化后的算法比MapReduce的shuffle算法效果更好。

英文摘要:

When dealing with massive data sorting, we usually use Hadoop which is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. A common approach in implement of big data sorting is to use shuffle and sort phase in MapReduce based on Hadoop. However, if we use it directly, the efficiency could be very low and the load imbalance can be a big problem. In this paper we carry out an experimental study of an optimization and analysis of large scale data sorting algorithm based on hadoop. In order to reach optimization, we use more than 2 rounds MapReduce. In the first round, we use a MapReduce to take sample randomly. Then we use another MapReduce to order the data uniformly, according to the results of the first round. If the data is also too big, it will turn back to the first round and keep on. The experiments show that, it is better to use the optimized algorithm than shuffle of MapReduce to sort large scale data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑