Naive Bayes Classifier Based Partitioner For Mapreduce
Abstract
MapReduce is an effective framework for processing large datasets in parallel over a cluster. Data locality and data skew on the reduce side are two essential issues in MapReduce. Improving data locality can decrease network traffic by moving reduce tasks to the nodes where the reducer input data is located. Data skew will lead to load imbalance among reducer nodes. Partitioning is an important feature of MapReduce because it determines the reducer nodes to which map output results will be sent. Therefore, an effective partitioner can improve MapReduce performance by increasing data locality and decreasing data skew on the reduce side. Previous studies considering both essential issues can be divided into two categories: those that preferentially improve data locality, such as LEEN, and those that preferentially improve load balance, such as CLP. However, all these studies ignore the fact that for different types of jobs, the priority of data locality and data skew on the reduce side may produce different effects on the execution time. In this paper, we propose a naive Bayes classifier based partitioner, namely, BAPM, which achieves better performance because it can automatically choose the proper algorithm (LEEN or CLP) by leveraging the naive Bayes classifier, i.e., considering job type and bandwidth as classification attributes. Our experiments are performed in a Hadoop cluster, and the results show that BAPM boosts the computing performance of MapReduce. The selection accuracy reaches 95.15%. Further, compared with other popular algorithms, under specific bandwidths, the improvement BAPM achieved is up to 31.31%. key words: MapReduce, hadoop, data locality, data skew, naive Bayes, bandwidth, job type.
Publication Date
5-1-2018
Publication Title
IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences
Volume
E101A
Issue
5
Number of Pages
778-786
Document Type
Article
Personal Identifier
scopus
DOI Link
https://doi.org/10.1587/transfun.E101.A.778
Copyright Status
Unknown
Socpus ID
85046376229 (Scopus)
Source API URL
https://api.elsevier.com/content/abstract/scopus_id/85046376229
STARS Citation
Chen, Lei; Wei, L. U.; Ergude, B. A.O.; Wang, Liqiang; and Xing, Weiwei, "Naive Bayes Classifier Based Partitioner For Mapreduce" (2018). Scopus Export 2015-2019. 10319.
https://stars.library.ucf.edu/scopus2015/10319