Cascading (software)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Cascading
Stable release
3.1
Development status Active
Written in Java
License Apache License
Website http://www.cascading.org/

Cascading is a software abstraction layer for Apache Hadoop and Apache Flink. Cascading is used to create and execute complex data processing workflows on a Hadoop cluster using any JVM-based language (Java, JRuby, Clojure, etc.), hiding the underlying complexity of MapReduce jobs. It is open source and available under the Apache License. Commercial support is available from Driven, Inc.[1]

Cascading was originally authored by Chris Wensel, who later founded Concurrent, Inc, which has been re-branded as Driven [2] Cascading is being actively developed by the community[citation needed] and a number of add-on modules are available.[3]

Architecture[edit]

To use Cascading, Apache Hadoop must also be installed, and the Hadoop job .jar must contain the Cascading .jars. Cascading consists of a data processing API, integration API, process planner and process scheduler.

Cascading leverages the scalability of Hadoop but abstracts standard data processing operations away from underlying map and reduce tasks.[4][better source needed] Developers use Cascading to create a .jar file that describes the required processes. It follows a ‘source-pipe-sink’ paradigm, where data is captured from sources, follows reusable ‘pipes’ that perform data analysis processes, where the results are stored in output files or ‘sinks’. Pipes are created independent from the data they will process. Once tied to data sources and sinks, it is called a ‘flow’. These flows can be grouped into a ‘cascade’, and the process scheduler will ensure a given flow does not execute until all its dependencies are satisfied. Pipes and flows can be reused and reordered to support different business needs.[5]

Developers write the code in a JVM-based language and do not need to learn MapReduce. The resulting program can be regression tested and integrated with external applications like any other Java application.[6]

Cascading is most often used for ad targeting, log file analysis, bioinformatics, machine learning, predictive analytics, web content mining, and extract, transform and load (ETL) applications.[7]

Uses of Cascading[edit]

Cascading was cited as one of the top five most powerful Hadoop projects by SD Times in 2011,[8][unreliable source?] as a major open source project relevant to bioinformatics[9][unreliable source?] and is included in Hadoop: A Definitive Guide, by Tom White.[10] The project has also been cited in presentations, conference proceedings and Hadoop user group meetings as a useful tool for working with Hadoop[11][12][13][14] and with Apache Spark[15]

  • MultiTool on Amazon Web Services was developed using Cascading.[16]
  • LogAnalyzer for Amazon CloudFront was developed using Cascading.[17]
  • BackType[18] - social analytics platform
  • Etsy[19] - marketplace
  • FlightCaster[20] - predicting flight delays
  • Ion Flux[21] - analyzing DNA sequence data
  • RapLeaf[22] - personalization and recommendation systems
  • Razorfish[23] - digital advertising

Domain-Specific Languages Built on Cascading[edit]

  • PyCascading[24] - by Twitter, available on GitHub
  • Cascading.jruby[25] - developed by Gregoire Marabout, available on GitHub
  • Cascalog[26] - authored by Nathan Marz, available on GitHub
  • Scalding[27] - A Scala API for Cascading. Makes it easier to transition Cascading/Scalding code to Spark. By Twitter, available on GitHub

References[edit]

  1. ^ Cascading support page
  2. ^ Driven, Inc.
  3. ^ Cascading modules
  4. ^ Blog post by Etsy describing their use of Cascading with Hadoop
  5. ^ Cascading User Guide Archived February 6, 2011, at the Wayback Machine.
  6. ^ Driven product page
  7. ^ Driven home page
  8. ^ Handy, Alex (1 June 2011). "The top five most powerful Hadoop projects". SD Times. Retrieved 26 October 2013. 
  9. ^ Taylor, Ronald (21 December 2010). "An overview of the Hadoop/MapReduce/HBase framework and its current applications in bioinformatics". BioMed Central. Springer Science+Business Media. Retrieved 26 October 2013. 
  10. ^ White, Tom, “Hadoop: The Definitive Guide,” O’Reilly Media, Inc., 2010, pp. 539 – 549.
  11. ^ Nathan, Paco (Wikipedia: Paco Nathan), “Getting Started on Hadoop” presentation for the SV Cloud Computing Meetup, 7/19/2010.
  12. ^ Julio Guijarro, Steve Loughran and Paolo Castagna, “Hadoop and beyond,” HP Labs, Bristol UK, 2008.
  13. ^ Cross, Bradford, “Flightcaster_HUG,” Presentation at the Bay Area Hadoop Users’ Group, March 26, 2010
  14. ^ Curtin, Christopher, “NoSQL, Hadoop and Cascading,” June 2010.
  15. ^ "Using Cascading to Build Data-centric Applications on Spark". Spark Summit 2014. 2014-05-07. Retrieved 2016-03-25. 
  16. ^ Cascading.Multitool on AWS
  17. ^ LogAnalyzer for Amazon CloudFront
  18. ^ BackType blog Archived August 25, 2011, at the Wayback Machine.
  19. ^ Blog post by Etsy describing their use of Cascading with Hadoop
  20. ^ FlightCaster
  21. ^ Ion Flux Archived October 23, 2011, at the Wayback Machine.
  22. ^ RapLeaf Blog Archived February 1, 2011, at the Wayback Machine.
  23. ^ Razorfish
  24. ^ [1]
  25. ^ Cascading.jruby
  26. ^ Cascalog
  27. ^ Scalding

External links[edit]