Automatic Optimization for MapReduce Programs

被引:79
作者
Jahani, Eaman [1 ]
Cafarella, Michael J. [1 ]
Re, Christopher [2 ]
机构
[1] Univ Michigan, Ann Arbor, MI 48109 USA
[2] Univ Wisconsin, Madison, WI 53709 USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2011年 / 4卷 / 06期
关键词
D O I
10.14778/1978665.1978670
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The MapReduce distributed programming framework has become popular, despite evidence that current implementations are inefficient, requiring far more hardware than a traditional relational databases to complete similar tasks. MapReduce jobs are amenable to many traditional database query optimizations (B+Trees for selections, column-store style techniques for projections, etc), but existing systems do not apply them, substantially because free-form user code obscures the true data operation being performed. For example, a selection in SQL is easily detected, but a selection in a MapReduce program is embedded in Java code along with lots of other program logic. We could ask the programmer to provide explicit hints about the program's data semantics, but one of MapReduce's attractions is precisely that it does not ask the user for such information. This paper covers MANIMAL, which automatically analyzes MapReduce programs and applies appropriate data aware optimizations, thereby requiring no additional help at all from the programmer We show that MANIMAL successfully detects optimization opportunities across a range of data operations, and that it yields speedups of up to 1,121% on previously-written MapReduce programs.
引用
收藏
页码:385 / 396
页数:12
相关论文
共 27 条
  • [1] Abadi D., 2006, P 2006 ACM SIGMOD IN, P671, DOI DOI 10.1145/1142473.1142548
  • [2] Abouzeid A, 2009, P VLDB, V2, P922
  • [3] Afrati F. N., 2010, EDBT
  • [4] Aho AV, 2007, COMPILERS PRINCIPLES
  • [5] Anderson Eric, 2010, Operating Systems Review, V44, P40, DOI 10.1145/1740390.1740400
  • [6] Boncz P, 1999, PROCEEDINGS OF THE TWENTY-FIFTH INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, P54
  • [7] Bu YY, 2010, PROC VLDB ENDOW, V3, P285
  • [8] Cafarella M.J., 2010, WEBDB
  • [9] Chih Yang H., 2007, P 2007 ACM SIGMOD IN, P1029, DOI DOI 10.1145/1247480.1247602
  • [10] Efficient representations and abstractions for quantifying and exploiting data reference locality
    Chilimbi, TM
    [J]. ACM SIGPLAN NOTICES, 2001, 36 (05) : 191 - 202