DocumentCode
2322221
Title
Optimizing Completion Time and Resource Provisioning of Pig Programs
Author
Zhang, Zhuoyao ; Cherkasova, Ludmila ; Verma, Abhishek ; Loo, Boon Thau
Author_Institution
Univ. of Pennsylvania, Philadelphia, PA, USA
fYear
2012
fDate
13-16 May 2012
Firstpage
811
Lastpage
816
Abstract
As cloud computing continues to mature, IT managers have started concentrating on the support of additional performance requirements: quality of service and tailored resource allocation for achieving service performance goals. In this paper, we consider the popular Pig framework that provides a high-level SQL-like abstraction on top of MapReduce engine for processing large data sets. Programs written in such frameworks are compiled into directed acyclic graphs (DAGs) of MapReduce jobs. Often, data processing applications have to produce results by a certain time deadline. We design a performance modeling framework for Pig programs that solves two inter-related problems: (i) estimating the completion time of a Pig program as a function of allocated resources, (ii) estimating the amount of resources (a number of map and reduce slots) required for completing a Pig program with a given (soft) deadline. To achieve these goals, we first, optimize a Pig program execution by enforcing the optimal schedule of its concurrent jobs. This optimization reduces a program completion time (10%-27% in our experiments), and moreover, it eliminates possible non-determinism in the DAGs execution. Based on our optimization, we propose an accurate performance model for Pig programs. This approach leads to significant resource savings (20%-60% in our experiments) compared with the original, unoptimized solution. We validate our approach in a 66-node Hadoop cluster using two workload sets: TPC-H queries and a set of customized queries mining a collection of HP Labs´ web proxy logs.
Keywords
resource allocation; Hadoop cluster; MapReduce engine; MapReduce jobs; Pig program execution; cloud computing; completion time optimization; customized queries mining; data processing application; directed acyclic graphs; high-level SQL-like abstraction; performance modeling framework; popular Pig framework; program completion time; quality of service; resource allocation; resource provisioning; service performance goal; Engines; Equations; Mathematical model; Optimal scheduling; Resource management; USA Councils; MapReduce; Pig; execution optimization; job scheduling; performance model; resource allocation;
fLanguage
English
Publisher
ieee
Conference_Titel
Cluster, Cloud and Grid Computing (CCGrid), 2012 12th IEEE/ACM International Symposium on
Conference_Location
Ottawa, ON
Print_ISBN
978-1-4673-1395-7
Type
conf
DOI
10.1109/CCGrid.2012.56
Filename
6217516
Link To Document