A Leiningen plugin for Cascading 2.0. (Still in development! This plugin only works with Leiningen 1.6.2.)
You'll need Leiningen, the build tool for Clojure. These instructions are copied from the Leiningen README:
- Download this script which is named
- Place it on your path so that you can execute it. (I like to use
- Set it to be executable. (
chmod 755 ~/bin/lein)
Run the following commands to install
lein plugin install lein-newnew 0.1.2 lein plugin install lein-cascading 1.0.0-SNAPSHOT
Creating a new Cascading Project
With lein-cascading, creating a new Cascading 2.0 project is as simple as:
lein new cascading <project-name> cd <project-name>
Add your customizations to
lein deps and you'll be good to go.
Customizing your module
Generated modules come with a single class called
Main.java containing an example log-parsing job.
All new projects will require the following steps:
- add custom dependencies to
And that's it!