Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2038916.2038927acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

CoScan: cooperative scan sharing in the cloud

Published:26 October 2011Publication History

ABSTRACT

We present CoScan, a scheduling framework that eliminates redundant processing in workflows that scan large batches of data in a map-reduce computing environment. CoScan merges Pig programs from multiple users at runtime to reduce I/O contention while adhering to soft deadline requirements in scheduling. This includes support for join workflows that operate on multiple data sources. Our solution maps well to workflows at many Internet companies which reuse data from a common set of inputs. Experiments on the PigMix data analytics benchmark exhibit orders of magnitude reduction in resource contention with minimal impact on latency.

References

  1. R. Abbott and H. Garcia-Molina. Scheduling Real-time Transactions. SIGMOD Rec., 17:71--81, March 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. P. Agrawal, D. Kifer, and C. Olston. Scheduling Shared Scans of Large Data Files. In VLDB, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. H. Andrade, T. Kurc, A. Sussman, and J. Saltz. Efficient Execution of Multiple Query Workloads in Data Analysis Applications. In SC, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Brucker. Scheduling Algorithms (4th Ed.). Springer, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. G. Candea, N. Polyzotis, and R. Vingralek. A Scalable, Predictable Join Operator for Highly Concurrent Data Warehouses. In VLDB, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. F. Chang, J. Dean, S. Ghemawat, W. C. Hsieh, D. A. Wallach, M. Burrows, T. Chandra, A. Fikes, and R. E. Gruber. Bigtable: A Distributed Storage System for Structured Data. In OSDI, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S. Chaudhuri, V. Narasayya, and R. Ramamurthy. Estimating Progress of Execution for SQL Queries. In SIGMOD, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. J. Dean and S. Ghemawat. MapReduce: Simplified Data Processing on Large Clusters. In OSDI, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. G. DeCandia, D. Hastorun, M. Jampani, G. Kakulapati, A. Lakshman, A. Pilchin, S. Sivasubramanian, P. Vosshall, and W. Vogels. Dynamo: Amazon's Highly Available Key-Value Store. In SOSP, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. A. Dua and N. Bambos. Scheduling with Soft Deadlines for Input Queued Switches. In Allerton, 2006.Google ScholarGoogle Scholar
  11. Amazon EC2. http://aws.amazon.com/ec2.Google ScholarGoogle Scholar
  12. P. M. Fernandez. Red Brick Warehouse: A Read-mostly RDBMS for Open SMP Platforms. SIGMOD Rec., 23:492--502, May 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. S. Ganguly, W. Hasan, and R. Krishnamurthy. Query Optimization for Parallel Execution. SIGMOD Rec., 21:9--18, June 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. A. Gates, O. Natkovich, S. Chopra, P. Kamath, S. Narayanam, C. Olston, B. Reed, S. Srinivasan, and U. Srivastava. Building a High-Level Dataflow System on top of MapReduce: The Pig Experience. PVLDB, 2(2):1414--1425, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. A. Gupta, S. Sudarshan, and S. Vishwanathan. Query Scheduling in Multiquery Optimization. In IDEAS, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Apache. Hadoop: Open-Source Implementation of MapReduce. http://hadoop.apache.org.Google ScholarGoogle Scholar
  17. S. Harizopoulos, V. Shkapenyuk, and A. Ailamaki. QPipe: A Simultaneously Pipelined Relational Query Engine. In SIGMOD, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. H. Hoogeveen. Multicriteria Scheduling. European Journal of Operational Research, 167:592--623, 2005.Google ScholarGoogle ScholarCross RefCross Ref
  19. D. Karger, C. Stein, and J. Wein. Scheduling Algorithms. In M. J. Atallah, editor, Handbook of Algorithms and Theory of Computation. CRC Press, 1997.Google ScholarGoogle Scholar
  20. R. M. Karp. Reducibility Among Combinatorial Problems. Complexity of Computer Computations, pages 85--103, 1972.Google ScholarGoogle Scholar
  21. K. Lai, L. Rasmusson, E. Adar, L. Zhang, and B. A. Huberman. Tycoon: An Implementation of a Distributed, Market-based Resource Allocation System. Multiagent Grid Syst., 1:169--182, August 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. A. Lakshman and P. Malik. Cassandra: A Decentralized Structured Storage System. SIGOPS Oper. Sys. Rev., 44(2):35--40, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. J. Lenstra, A. R. Kan, and P. Brucker. Complexity of Machine Scheduling Problems. Annals of Discrete Mathematics, 1:343--362, 1977.Google ScholarGoogle ScholarCross RefCross Ref
  24. K. Morton, A. Friesen, M. Balazinska, and D. Grossman. Estimating the Progress of MapReduce Pipelines. In ICDE, 2010.Google ScholarGoogle ScholarCross RefCross Ref
  25. J. Myllymaki and M. Livny. Relational Joins for Data on Tertiary Storage. In ICDE, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. T. Nykiel, M. Potamias, C. Mishra, G. Kollios, and N. Koudas. MRShare: Sharing Across Multiple Queries in MapReduce. Proc VLDB Endow., 3:494--505, September 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. C. Olston, G. Chiou, L. Chitnis, F. Liu, Y. Han, M. Larsson, A. Neumann, V. B. N. Rao, V. Sankarasubramanian, S. Seth, C. Tian, T. ZiCornell, and X. Wang. Nova: Continuous Pig/Hadoop Workflows. In SIGMOD, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. C. Olston, B. Reed, U. Srivastava, R. Kumar, and A. Tomkins. Pig Latin: A Not-So-Foreign Language for Data Processing. In SIGMOD, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. E. Otoo, D. Rotem, and A. Romosan. Optimal File-Bundle Caching Algorithms for Data-Grids. In SC, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Pig Performance Benchmark. https://issues.apache.org/jira/browse/PIG-200.Google ScholarGoogle Scholar
  31. S. Sarawagi. Query Processing in Tertiary Memory Databases. In VLDB, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. T. K. Sellis. Multiple-Query Optimization. ACM Trans. Database Syst., 13(1):23--52, March 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. A. Thusoo, J. S. Sarma, N. Jain, Z. Shao, P. Chakka, S. Anthony, H. Liu, P. Wyckoff, and R. Murthy. Hive -- A Warehousing Solution Over a Map-Reduce Framework. In VLDB, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. P. Unterbrunner, G. Giannikis, G. Alonso, D. Fauser, and D. Kossmann. Predictable Performance for Unpredictable Workloads. In VLDB, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. X. Wang, R. Burns, and T. Malik. LifeRaft: Data-Driven, Batch Processing for the Exploration of Scientific Databases. In CIDR, 2009.Google ScholarGoogle Scholar
  36. X. Wang, E. Perlman, R. Burns, T. Malik, T. Budavári, C. Meneveau, and A. Szalay. JAWS: Job-Aware Workload Scheduling for the Exploration of Turbulence Simulations. In SC, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. J.-B. Yu and D. J. DeWitt. Query Pre-Execution and Batching in Paradise: A Two-Pronged Approach to the Efficient Processing of Queries on Tape-Resident Raster Images. In SSDBM, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. M. Zukowski, S. Héman, N. Nes, and P. Boncz. Cooperative Scans: Dynamic Bandwidth Sharing in a DBMS. In VLDB, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. CoScan: cooperative scan sharing in the cloud

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        SOCC '11: Proceedings of the 2nd ACM Symposium on Cloud Computing
        October 2011
        377 pages
        ISBN:9781450309769
        DOI:10.1145/2038916

        Copyright © 2011 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 26 October 2011

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate169of722submissions,23%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader