/mortar

Mortar Development Framework

Primary LanguageRubyApache License 2.0Apache-2.0

Mortar Development Framework

Mortar is a platform as a service for Hadoop. With Mortar, you can run jobs on Hadoop using Apache Pig and Python without any special training.

The Mortar Development Framework lets you develop Mortar Hadoop jobs directly on your local computer without installing any Hadoop libraries. Lots more info can be found on the Mortar help site.

Build Status Dependency Status

Setup

Dependencies

  • Git 1.7.7 or later
  • Ruby 1.8.7 or later
  • Gem (included with Ruby 1.9.2+)

Installation

gem install mortar

Development

To develop on the gem, install the bundle, and then use bundle exec to run mortar:

gem install bundler
bundle install
bundle exec mortar <command> <args>

Tests

You can run all the RSpec tests with rake:

rake spec

To run tests for a single file using:

rspec path/to/test_file