On the optimization of schedules for MapReduce workloads in the presence of shared scans

  • Authors:
  • Joel Wolf;Andrey Balmin;Deepak Rajan;Kirsten Hildrum;Rohit Khandekar;Sujay Parekh;Kun-Lung Wu;Rares Vernica

  • Affiliations:
  • IBM T.J. Watson Research, Hawthorne, USA 10532;IBM Almaden Research, San Jose, USA 95120;Lawrence Livermore National Laboratory, Livermore, USA 94550;IBM T.J. Watson Research, Hawthorne, USA 10532;Knight Capital Group, Jersey City, USA 07310;Bank of America, New York, USA 10080;IBM T.J. Watson Research, Hawthorne, USA 10532;HP Laboratories, Palo Alto, USA 94304

  • Venue:
  • The VLDB Journal — The International Journal on Very Large Data Bases
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider MapReduce clusters designed to support multiple concurrent jobs, concentrating on environments in which the number of distinct datasets is modest relative to the number of jobs. In such scenarios, many individual datasets are likely to be scanned concurrently by multiple Map phase jobs. As has been noticed previously, this scenario provides an opportunity for Map phase jobs to cooperate, sharing the scans of these datasets, and thus reducing the costs of such scans. Our paper has three main contributions over previous work. First, we present a novel and highly general method for sharing scans and thus amortizing their costs. This concept, which we call cyclic piggybacking, has a number of advantages over the more traditional batching scheme described in the literature. Second, we notice that the various subjobs generated in this manner can be assumed in an optimal schedule to respect a natural chain precedence ordering. Third, we describe a significant but natural generalization of the recently introduced FLEX scheduler for optimizing schedules within the context of this cyclic piggybacking paradigm, which can be tailored to a variety of cost metrics. Such cost metrics include average response time, average stretch, and any minimax-type metric--a total of 11 separate and standard metrics in all. Moreover, most of this carries over in the more general case of overlapping rather than identical datasets as well, employing what we will call semi-shared scans. In such scenarios, chain precedence is replaced by arbitrary precedence, but we can still handle 8 of the original 11 metrics. The overall approach, including both cyclic piggybacking and the FLEX scheduling generalization, is called CIRCUMFLEX. We describe some practical implementation strategies. And we evaluate the performance of CIRCUMFLEX via a variety of simulation and real benchmark experiments.