Stubby:一个基于转换的MapReduce工作流优化器
Stubby: A Transformation-based Optimizer for MapReduce Workflows
摘要:
使用由MapReduce作业组成的工作流对大型数据集进行分析的趋势越来越明显,这些作业通过基于数据的生产者-消费者关系连接。这一趋势促进了许多接口的开发--从基于程序的接口到基于查询的接口--用于生成MapReduce工作流。研究表明,优化和未优化的工作流程之间的性能差距可能相当大。然而,MapReduce工作流的基于成本的自动优化仍然是一个挑战,这是由于大量的接口,大规模的执行计划空间,以及优化所需的所有类型的信息经常不可用。我们为流行的工作流生成器生成的MapReduce工作流引入了一个全面的计划空间。然后,我们提出Stubby,一个基于成本的优化器,通过选择性地搜索子空间的完整的计划空间,可以正确枚举和成本的基础上,在任何给定的设置中提供的信息。Stubby基于计划到计划的转换和有效的搜索算法来枚举计划空间。Stubby被设计为可扩展到新接口和新类型的优化,这是一个理想的特性,因为MapReduce系统正在快速发展。Stubby的效率和有效性已经使用来自许多领域的代表性工作流程进行了评估。
英文摘要:
There is a growing trend of performing analysis on large datasets using workflows composed of MapReduce jobs connected through producer-consumer relationships based on data. This trend has spurred the development of a number of interfaces--ranging from program-based to query-based interfaces--for generating MapReduce workflows. Studies have shown that the gap in performance can be quite large between optimized and unoptimized workflows. However, automatic cost-based optimization of MapReduce workflows remains a challenge due to the multitude of interfaces, large size of the execution plan space, and the frequent unavailability of all types of information needed for optimization. We introduce a comprehensive plan space for MapReduce workflows generated by popular workflow generators. We then propose Stubby, a cost-based optimizer that searches selectively through the subspace of the full plan space that can be enumerated correctly and costed based on the information available in any given setting. Stubby enumerates the plan space based on plan-to-plan transformations and an efficient search algorithm. Stubby is designed to be extensible to new interfaces and new types of optimizations, which is a desirable feature given how rapidly MapReduce systems are evolving. Stubby's efficiency and effectiveness have been evaluated using representative workflows from many domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。