4.2 Building

Cascading ships with several jars and dependencies in the download archive. Alternatively, Cascading is available over Maven and Ivy through the Conjars repository, along with a number of other Cascading-related projects. See http://conjars.org for more information.

The core Cascading artifacts include the following:


This jar contains the Cascading Core class files. It should be packaged with lib/*.jar when using Hadoop.


This jar contains the Cascading local mode class files. It is not needed when using Hadoop.


This jar contains the Cascading Hadoop specific dependencies. It should be packaged with lib/*.jar when using Hadoop.


This jar contains Cascading XML module class files and is optional. It should be packaged with lib/xml/*.jar when using Hadoop.


This jar contains Cascading unit tests. If writing custom modules for cascading, it may be helpful to subclass cascading.CascadingTestCase.

Cascading works with either of the Hadoop processing modes - the default local standalone mode and the distributed cluster mode. As specified in the Hadoop documentation, running in cluster mode requires the creation of a Hadoop job jar that includes the Cascading jars, plus any needed third-party jars, in its lib directory. This is true regardless of whether they are Cascading Hadoop-mode applications or raw Hadoop MapReduce applications.

Copyright © 2007-2012 Concurrent, Inc. All Rights Reserved.