RAFTing MapReduce: Fast recovery on the RAFT
Authors:
- 1 April 2011
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636382,p. 589-600
Abstract
MapReduce is a computing paradigm that has gained a lot of popularity as it allows non-expert users to easily run complex analytical tasks at very large-scale. At such scale, task and node failures are no longer an exception but rather a characteristic of large-scale systems. This makes fault-tolerance a critical issue for the efficient operation of any application. MapReduce automatically reschedules failed tasks to available nodes, which in turn recompute such tasks from scratch. However, this policy can significantly decrease performance of applications. In this paper, we propose a family of Recovery Algorithms for Fast-Tracking (RAFT) MapReduce. As ease-of-use is a major feature of MapReduce, RAFT focuses on simplicity and also non-intrusiveness, in order to be implementation-independent. To efficiently recover from task failures, RAFT exploits the fact that MapReduce produces and persists intermediate results at several points in time. RAFT piggy-backs checkpoints on the task progress computation. To deal with multiple node failures, we propose query metadata checkpointing. We keep track of the mapping between input key-value pairs and intermediate data for all reduce tasks. Thereby, RAFT does not need to re-execute completed map tasks entirely. Instead RAFT only recomputes intermediate data that were processed for local reduce tasks and hence not shipped to another node for processing. We also introduce a scheduling strategy taking full advantage of these recovery algorithms. We implemented RAFT on top of Hadoop and evaluated it on a 45-node cluster using three common analytical tasks. Overall, our experimental results demonstrate that RAFT outperforms Hadoop runtimes by 23% on average under task and node failures. The results also show that RAFT has negligible runtime overhead.Keywords
This publication has 19 references indexed in Scilit:
- Hadoop++Proceedings of the VLDB Endowment, 2010
- Runtime measurements in the cloudProceedings of the VLDB Endowment, 2010
- Delay scheduling2010
- HadoopDBProceedings of the VLDB Endowment, 2009
- Pig latin2008
- MapReduceCommunications of the ACM, 2008
- A large-scale study of failures in high-performance computing systems2006
- Interpreting the Data: Parallel Analysis with SawzallScientific Programming, 2005
- A survey of rollback-recovery protocols in message-passing systemsACM Computing Surveys, 2002
- ARIESACM Transactions on Database Systems, 1992