Skip to main content
QUICK REVIEW

[Paper Review] Hadoop Scheduling Base On Data Locality

Bo Jiang, Jiaying Wu|arXiv (Cornell University)|Jun 1, 2015
Cloud Computing and Resource ManagementComputer Science3 references5 citations
TL;DR

This paper proposes a data locality-aware Hadoop scheduling algorithm that uses resource prefetching to improve task locality and reduce job completion time. By estimating task completion times and pre-transferring data blocks to candidate nodes before task execution, the method ensures better data locality and achieves measurable performance gains in experiments.

ABSTRACT

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.

Motivation & Objective

  • To address the limitations of existing Hadoop schedulers (FIFO, Capacity, Fair) in effectively supporting data locality.
  • To improve job scheduling efficiency by reducing data transfer overhead through proactive data placement.
  • To design a scheduling mechanism that dynamically selects optimal nodes for task allocation based on data locality and estimated task completion times.
  • To evaluate the effectiveness of resource prefetching in maintaining high data locality and reducing overall job execution time.

Proposed method

  • Introduces a resource-prefetching mechanism that identifies non-local map tasks from the unfinished job queue as candidates for early data transfer.
  • Estimates the remaining time to complete a task and compares it with the time required to transfer a data block over the network.
  • Selects the nearest data blocks from candidate nodes based on proximity and network cost to pre-transfer them to the target node.
  • Preselects nodes for task allocation by evaluating data locality and transfer time, ensuring that data is available locally before task execution.
  • Uses a hybrid strategy combining task completion time estimation and network-aware data transfer to optimize scheduling decisions.
  • Employs a feedback-driven approach to update scheduling choices based on real-time cluster conditions and task progress.

Experimental results

Research questions

  • RQ1Can resource prefetching improve data locality in Hadoop job scheduling beyond what current schedulers achieve?
  • RQ2How does estimating task completion time affect the efficiency of data transfer and task allocation decisions?
  • RQ3To what extent can pre-transferring data blocks reduce job completion time in a distributed Hadoop environment?
  • RQ4Does the proposed method maintain good data locality across diverse job workloads and cluster configurations?
  • RQ5How does the trade-off between data transfer cost and task execution time influence scheduling performance?

Key findings

  • The proposed resource-prefetching method significantly improves data locality by proactively moving data blocks to candidate nodes before task execution.
  • Job completion time was reduced in experimental evaluation, demonstrating the effectiveness of the approach in real-world workloads.
  • The algorithm outperforms traditional schedulers by better balancing data locality and network transfer costs.
  • The method maintains high data locality even under dynamic and heterogeneous cluster conditions.
  • Task scheduling decisions based on estimated completion time and transfer cost lead to more efficient resource utilization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.