S3: An Efficient Shared Scan Scheduler on MapReduce Framework
Authors:
- Lei ShiLSLei Shi
- Xiaohui LiXLXiaohui Li
- Kian-Lee TanKTKian-Lee Tan
- 1 September 2011
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 325-334
Abstract
Hadoop, an open-source implementation of Map-Reduce, has been widely used for data-intensive computing. In order to improve performance, multiple jobs operating on a common data file can be processed as a batch to eliminate redundant scanning. However, in practice, jobs often do not arrive at the same time, and batching them means longer waiting time for jobs that arrive earlier. In this paper, we propose S3 - a novel Shared Scan Scheduler for Hadoop - which allows sharing the scan of a common file for multiple jobs that may arrive at different time. Under S3, a job is split into a sequence of (independent) sub-jobs, each operating on a different portion of the data file, moreover, multiple sub-jobs (from different jobs) that access a common portion of a data file can be processed as a batch to share the scan of the accessed data. S3 operates as follows: at any time, the system may be processing a batch of sub-jobs (that access the same portion of data), at the same time, there are sub-jobs waiting in a job queue, as a new job arrives, its sub-jobs can be aligned with the waiting jobs in the queue, once the current batch of sub-jobs completes processing, the next batch of sub-jobs (which may include sub-jobs from newly arrived jobs) can be initiated for processing. In this way, an arriving job does not need to wait for a long time to be processed. We have implemented our S3 approach in Hadoop, and our experimental results on a cluster of over 40 nodes show that S3 outperforms the naive no-sharing scheme and the file-based shared-scan approach.Keywords
This publication has 9 references indexed in Scilit:
- MRShareProceedings of the VLDB Endowment, 2010
- Optimizing joins in a map-reduce environment2010
- Quincy2009
- Mars2008
- Scheduling shared scans of large data filesProceedings of the VLDB Endowment, 2008
- MapReduceCommunications of the ACM, 2008
- Map-reduce-merge2007
- Evaluating MapReduce for Multi-core and Multiprocessor Systems2007
- The Google file systemACM SIGOPS Operating Systems Review, 2003