arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.00425cs.DC
收藏

基于数据局部性的Hadoop调度

Hadoop Scheduling Base On Data Locality

Bo Jiang, Jiaying Wu, Xiuyu Shi, Ruhuan Huang

摘要:

在Hadoop中,作业调度是一个独立的模块,用户可以根据自己的实际应用需求设计自己的作业调度器,从而满足自己特定的业务需求。目前Hadoop有三种调度策略:FIFO、计算能力调度和公平调度策略,它们都是采取简单考虑数据局部性的任务分配策略。它们既不能很好地支持数据局部性,也不能完全适用于作业调度的所有情况。本文考虑资源预取的概念,提出了一种基于数据局部性的作业调度算法。通过估计完成任务的剩余时间,与转移一个资源块的时间进行比较,来预选任务分配的候选节点。然后,我们从未完成的作业队列中预选一个非本地映射任务作为资源预取任务。获取预选映射任务的资源块信息,选择距离候选节点最近的资源块,通过网络传输到本地。因此,我们将确保足够好的数据局部性。最后,我们设计了一个实验,证明了资源预取方法可以保证良好的作业数据局部性,并在一定程度上减少了作业的完成时间。

英文摘要:

In hadoop, the job scheduling is an independent module, users can design their own job scheduler based on their actual application requirements, thereby meet their specific business needs. Currently, hadoop has three schedulers: FIFO, computing capacity scheduling and fair scheduling policy, all of them are take task allocation strategy that considerate data locality simply. They neither support data locality well nor fully apply to all cases of jobs scheduling. In this paper, we took the concept of resources-prefetch into consideration, and proposed a job scheduling algorithm based on data locality. By estimate the remaining time to complete a task, compared with the time to transfer a resources block, to preselect candidate nodes for task allocation. Then we preselect a non-local map tasks from the unfinished job queue as resources-prefetch tasks. Getting information of resources blocks of preselected map task, select a nearest resources blocks from the candidate node and transferred to local through network. Thus we would ensure data locality good enough. Eventually, we design a experiment and proved resources-prefetch method can guarantee good job data locality and reduce the time to complete the job to a certain extent.

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

↑