Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
(J)Ruby coprocessors for HBase
Ruby Java Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
classes/askari
config
exe
lib
maven/com/moz/askari
scripts
spec
src
tasks
.cane
.gitignore
.rspec
.rubocop.yml
.ruby-version
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
Vagrantfile
askari.gemspec
pom.xml

README.md

Askari

Build Status

(J)Ruby coprocessors for HBase.

Coprocessors are a powerful feature of the HBase store, allowing schema authors to customize behavior in exotic ways. Askari is a small framework for defining and deploying "region observer" coprocessors in modern versions of JRuby.

Askari (properly, 'askari wa kifaru') is the Swahili name for the oxpecker or tickbird. These small birds sit on the backs of elephants and rhinoceroses, eating parasitic bugs.

HBase Versions

Askari's been tested against these HBase versions:

  • Cloudera CDH4 0.94.6

Development

The easiest way to get started is vagrant. On OSX we suggest getting it from cask.

ProTip: On VirtualBox the vbguest plugin is your friend.

# OSX:
# brew cask install virtualbox vagrant

# Ubuntu:
# echo 'deb http://download.virtualbox.org/virtualbox/debian precise contrib' | sudo tee /etc/apt/sources.list.d/virtualbox.list
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O - | sudo apt-key add -
# sudo apt-get update
# sudo apt-get install virtualbox-4.3
# wget 'http://files.vagrantup.com/packages/a40522f5fabccb9ddabad03d836e120ff5d14093/vagrant_1.3.5_x86_64.deb'
# sudo dpkg -i vagrant_1.3.5_x86_64.deb
# rm vagrant_1.3.5_x86_64.deb

$ vagrant up
$ vagrant ssh
vagrant@precise64:~$ cd /vagrant
vagrant@precise64:~$ bundle install --binstubs
vagrant@precise64:~$ ./bin/rake
vagrant@precise64:~$ exit
$ vagrant destroy

License

MIT. See LICENSE.

Contributing

Fork it, use feature branches, open PRs.

Something went wrong with that request. Please try again.