Skip to main content
QUICK REVIEW

[Paper Review] On the Optimality of Scheduling Dependent MapReduce Tasks on Heterogeneous Machines.

Vaneet Aggarwal, Maotong Xu|arXiv (Cornell University)|Nov 27, 2017
Cloud Computing and Resource ManagementComputer Science23 references4 citations
TL;DR

This paper proposes DMRS, a novel scheduling algorithm for dependent MapReduce tasks on heterogeneous machines, aiming to minimize weighted completion time. By modeling task dependencies and server heterogeneity, DMRS achieves a competitive ratio of $2(1+(m-1)/D)+1$ and reduces job completion time by up to 82% compared to baseline schedulers in Hadoop evaluations.

ABSTRACT

MapReduce is the most popular big-data computation framework, motivating many research topics. A MapReduce job consists of two successive phases, i.e. map phase and reduce phase. Each phase can be divided into multiple tasks. A reduce task can only start when all the map tasks finish processing. A job is successfully completed when all its map and reduce tasks are complete. The task of optimally scheduling the different tasks on different servers to minimize the weighted completion time is an open problem, and is the focus of this paper. In this paper, we give an approximation ratio with a competitive ratio $2(1+(m-1)/D)+1$, where $m$ is the number of servers and $D\ge 1$ is the task-skewness product. We implement the proposed algorithm on Hadoop framework, and compare with three baseline schedulers. Results show that our DMRS algorithm can outperform baseline schedulers by up to $82\%$.

Motivation & Objective

  • To address the open problem of optimally scheduling dependent MapReduce tasks on heterogeneous machines to minimize weighted completion time.
  • To design a scheduling algorithm that accounts for task dependencies and server heterogeneity in distributed MapReduce environments.
  • To evaluate the performance of the proposed algorithm against existing schedulers in real Hadoop deployments.
  • To establish a theoretical competitive ratio for the scheduling algorithm under dynamic and skewed workloads.

Proposed method

  • The proposed DMRS algorithm models task dependencies and server heterogeneity to prioritize task scheduling based on weighted completion time minimization.
  • It derives a competitive ratio of $2(1+(m-1)/D)+1$, where $m$ is the number of servers and $D o 1$ is the task-skewness product.
  • The algorithm uses a priority-based scheduling strategy that considers both task execution time and data locality across heterogeneous machines.
  • It dynamically assigns map and reduce tasks to servers based on estimated processing times and dependency constraints.
  • The scheduling logic incorporates a weighted completion time objective function to balance load and reduce job turnaround.
  • The algorithm is implemented and evaluated within the Hadoop framework using real-world workloads and baseline scheduler comparisons.

Experimental results

Research questions

  • RQ1What is the theoretical competitive ratio of a scheduling algorithm for dependent MapReduce tasks on heterogeneous machines?
  • RQ2How does task skewness and server heterogeneity affect the performance of MapReduce job scheduling?
  • RQ3Can a heuristic scheduling algorithm outperform existing baseline schedulers in terms of weighted completion time?
  • RQ4What is the impact of task dependencies and data locality on scheduling efficiency in heterogeneous clusters?

Key findings

  • The proposed DMRS algorithm achieves a competitive ratio of $2(1+(m-1)/D)+1$, providing a theoretical bound on performance for scheduling dependent MapReduce tasks.
  • In Hadoop-based evaluations, DMRS outperforms baseline schedulers by up to 82% in reducing weighted completion time.
  • The algorithm effectively handles task dependencies and server heterogeneity, leading to improved load balancing and job completion efficiency.
  • The performance gain is most significant under high task skewness and heterogeneous server configurations, validating the algorithm’s robustness.

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.