arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1611.10052cs.DCcs.LG
收藏

Hadoop MapReduce的性能调优:一种噪声梯度方法

Performance Tuning of Hadoop MapReduce: A Noisy Gradient Approach

Sandeep Kumar, Sindhu Padakandla, Chandrashekar L, Priyank Parihar, K Gopinath, Shalabh Bhatnagar

摘要:

Hadoop MapReduce是一个分布式存储和处理大型数据集的框架,在大数据分析中非常流行。它具有各种配置参数(旋钮),这些参数在决定性能方面起着重要作用,即,给定大数据处理作业的执行时间。这些参数的默认值并不总是产生良好的性能,因此调整它们很重要。然而,由于两个重要原因,在调整参数方面存在固有的困难-首先,参数搜索空间很大,其次,存在交叉参数相互作用。因此,需要一种无量纲的方法,该方法可以通过考虑跨参数依赖性来自动调整配置参数。在本文中,我们提出了一种新的Hadoop参数调整方法,基于噪声梯度算法称为同时扰动随机近似(SPSA)。SPSA算法通过直接观察Hadoop MapReduce系统的性能来调整参数。所遵循的方法独立于参数维度,并且在调整时每次迭代仅需要$2$观测。我们证明了我们的方法在流行的Hadoop基准测试,即\emph{Grep},\emph{Bigram},\emph{Inverted Index},\emph{Word Co-occurrence}和\emph{Terasort}上实现良好性能的有效性。我们的方法,在25个节点的Hadoop集群上进行测试时显示,与默认配置相比,Hadoop作业的执行时间平均减少了66%。此外,我们还观察到,与以前的方法相比,减少了45%的执行时间。

英文摘要:

Hadoop MapReduce is a framework for distributed storage and processing of large datasets that is quite popular in big data analytics. It has various configuration parameters (knobs) which play an important role in deciding the performance i.e., the execution time of a given big data processing job. Default values of these parameters do not always result in good performance and hence it is important to tune them. However, there is inherent difficulty in tuning the parameters due to two important reasons - firstly, the parameter search space is large and secondly, there are cross-parameter interactions. Hence, there is a need for a dimensionality-free method which can automatically tune the configuration parameters by taking into account the cross-parameter dependencies. In this paper, we propose a novel Hadoop parameter tuning methodology, based on a noisy gradient algorithm known as the simultaneous perturbation stochastic approximation (SPSA). The SPSA algorithm tunes the parameters by directly observing the performance of the Hadoop MapReduce system. The approach followed is independent of parameter dimensions and requires only $2$ observations per iteration while tuning. We demonstrate the effectiveness of our methodology in achieving good performance on popular Hadoop benchmarks namely \emph{Grep}, \emph{Bigram}, \emph{Inverted Index}, \emph{Word Co-occurrence} and \emph{Terasort}. Our method, when tested on a 25 node Hadoop cluster shows 66\% decrease in execution time of Hadoop jobs on an average, when compared to the default configuration. Further, we also observe a reduction of 45\% in execution times, when compared to prior methods.

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

↑