This repository was archived by the owner on Dec 18, 2019. It is now read-only.
forked from mrwalker/cascading.jruby
-
Notifications
You must be signed in to change notification settings - Fork 5
Hacking
mrwalker edited this page Jan 30, 2013
·
1 revision
For local development, install with (requires bundler):
jruby -S bundle install
To run the tests (will download Cascading and Hadoop jars):
jruby -S bundle exec rake test
To run the specs:
jruby -S bundle exec rake spec
To run the samples:
jruby -S bundle exec rake samples
To create the gem:
jruby -S gem build cascading.jruby.gemspec
To install it locally:
jruby -S gem install cascading.jruby-xxx.gem
The file cascading/cascading.rb defines global helper methods for cascading like tap creation, fields creation, etc.
The Cascading::Operations module is deprecated. The original idea from long ago is that it would be useful to mixin operator wrappers to places other than Cascading::Assembly, but this is not true. Instead, put Eaches in Cascading::Assembly, Everies in Cascading::Aggregations, and any more generally useful utility code directly in the Cascading module (cascading/cascading.rb).