arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1104.3217cs.DBcs.DC
收藏

MapReduce程序的自动优化

Automatic Optimization for MapReduce Programs

Eaman Jahani, Michael J. Cafarella, Christopher Ré

摘要:

MapReduce分布式编程框架已经变得流行,尽管有证据表明当前的实现效率低下,需要比传统的关系数据库更多的硬件来完成类似的任务。MapReduce作业适用于许多传统的数据库查询优化(用于选择的B+树,用于投影的列存储风格技术等),但现有系统不应用它们,主要是因为自由格式的用户代码掩盖了正在执行的真实数据操作。例如,SQL中的选择很容易检测到,但MapReduce程序中的选择与许多其他程序逻辑一起嵌入Java代码中。我们可以要求程序员提供有关程序数据语义的明确提示,但MapReduce的吸引力之一恰恰是它不要求用户提供此类信息。本文介绍了Mandatory,它自动分析MapReduce程序并应用适当的数据感知优化,因此根本不需要程序员的额外帮助。我们表明,Mandarin在一系列数据操作中成功地检测到了优化机会,并且在以前编写的MapReduce程序上,它的速度提高了1,121%。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑