A throughput optimal algorithm for map task scheduling in mapreduce with data locality

  • Authors:
  • Weina Wang;Kai Zhu;Lei Ying;Jian Tan;Li Zhang

  • Affiliations:
  • Arizona State University, Tempe, Arizona;Arizona State University, Tempe, Arizona;Arizona State University, Tempe, Arizona;IBM T. J. Watson Research Center, Yorktown Heights, New York;IBM T. J. Watson Research Center, Yorktown Heights, New York

  • Venue:
  • ACM SIGMETRICS Performance Evaluation Review
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

MapReduce/Hadoop framework has been widely used to process large-scale datasets on computing clusters. Scheduling map tasks to improve data locality is crucial to the performance of MapReduce. Many works have been devoted to increasing data locality for better efficiency. However, to the best of our knowledge, fundamental limits of MapReduce computing clusters with data locality, including the capacity region and throughput optimal algorithms, have not been studied. In this paper, we address these problems from a stochastic network perspective. Our focus is to strike the right balance between data-locality and load-balancing to maximize throughput. We present a new queueing architecture and propose a map task scheduling algorithm constituted by the Join the Shortest Queue policy together with the MaxWeight policy. We identify an outer bound on the capacity region, and then prove that the proposed algorithm can stabilize any arrival rate vector strictly within this outer bound. It shows that the algorithm is throughput optimal and the outer bound coincides with the actual capacity region. The proofs in this paper deal with random processing time with different parameters and nonpreemptive tasks, which differentiate our work from many other works, so the proof technique itself is also a contribution of this paper.