Improving MapReduce Performance in Heterogeneous Environments

TitleImproving MapReduce Performance in Heterogeneous Environments
Publication TypeConference Proceedings
Year of Conference2008
AuthorsZaharia, Matei, Andy Konwinski, Anthony Joseph, Randy Katz, & Ion Stoica
Conference Name8th Symposium on Operating Systems Design and Implementation (OSDI 2008)
Date Published12/2008
PublisherUSENIX Association
Conference LocationSan Diego, CA

MapReduce is emerging as an important programming model for large-scale data-parallel applications such as web indexing, data mining, and scientific simulation. Hadoop is an open-source implementation of MapReduce enjoying wide adoption and is often used for short jobs where low response time is critical. Hadoop's performance is closely tied to its task scheduler, which implicitly assumes that cluster nodes are homogeneous and tasks make progress linearly, and uses these assumptions to decide when to speculatively re-execute tasks that appear to be stragglers. In practice, the homogeneity assumptions do not always hold. An especially compelling setting where this occurs is a virtualized data center, such as Amazon's Elastic Compute Cloud (EC2). We show that Hadoop's scheduler can cause severe performance degradation in heterogeneous environments. We design a new scheduling algorithm, Longest Approximate Time to End (LATE), that is highly robust to heterogeneity. LATE can improve Hadoop response times by a factor of 2 in clusters of 200 virtual machines on EC2.