arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1203.0061cs.DB
收藏

ReStore:重用MapReduce作业的结果

ReStore: Reusing Results of MapReduce Jobs

Iman Elghandour, Ashraf Aboulnaga

摘要:

在过去的几年中,分析大规模数据已经成为许多组织的重要活动。这种大规模的数据分析是由MapReduce编程和执行模型及其实现,特别是Hadoop。MapReduce的用户通常有太复杂的分析任务,无法表示为单独的MapReduce作业。相反,它们使用高级查询语言(如Pig、Hive或Jaql)来表达它们的复杂任务。这些语言的编译器将查询转换为MapReduce作业的工作流程。这些工作流中的每个作业从MapReduce系统所使用的分布式文件系统读取其输入,并产生存储在该分布式文件系统中并由工作流中的下一个作业作为输入读取的输出。目前的做法是在执行工作流结束时从分布式文件系统中删除这些中间结果。提高MapReduce作业工作流性能的一种方法是保留这些中间结果,并将其重用于将来提交给系统的工作流。在本文中,我们提出了ReStore,一个系统,管理这样的中间结果的存储和重用。ReStore可以重用作为工作流一部分的整个MapReduce作业的输出,它还可以通过具体化和存储在MapReduce作业中执行的查询执行操作符的输出来创建额外的重用机会。我们已经实现了ReStore作为Hadoop之上的Pig Quarterlow系统的扩展,并且我们通过实验证明了PigMix基准测试的查询速度显著提高。

英文摘要:

Analyzing large scale data has emerged as an important activity for many organizations in the past few years. This large scale data analysis is facilitated by the MapReduce programming and execution model and its implementations, most notably Hadoop. Users of MapReduce often have analysis tasks that are too complex to express as individual MapReduce jobs. Instead, they use high-level query languages such as Pig, Hive, or Jaql to express their complex tasks. The compilers of these languages translate queries into workflows of MapReduce jobs. Each job in these workflows reads its input from the distributed file system used by the MapReduce system and produces output that is stored in this distributed file system and read as input by the next job in the workflow. The current practice is to delete these intermediate results from the distributed file system at the end of executing the workflow. One way to improve the performance of workflows of MapReduce jobs is to keep these intermediate results and reuse them for future workflows submitted to the system. In this paper, we present ReStore, a system that manages the storage and reuse of such intermediate results. ReStore can reuse the output of whole MapReduce jobs that are part of a workflow, and it can also create additional reuse opportunities by materializing and storing the output of query execution operators that are executed within a MapReduce job. We have implemented ReStore as an extension to the Pig dataflow system on top of Hadoop, and we experimentally demonstrate significant speedups on queries from the PigMix benchmark.

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

↑