Booting the Analytics Application
This is an example application you can use to get started building analytics applications using Ruby/Python, Pig/Hadoop, NoSQL stores and one-page web applications.
Installation & Setup
Note: You will have to enter the root password for sudo to install some components.
This takes a while, since we must download, patch and build Apache Pig.
sudo gem install bundler cd src/ruby bundle install cd ../..
Python isn't working yet, owing to a problem building python-snappy :(
cd src/ruby bundle exec ruby create_avros.rb cd ../..
Processing Data with Pig
lib/pig-0.9.1/bin/pig -l /tmp -x local src/pig/messages_per_user_id.pig
To load Pig in an interactive shell called Grunt:
lib/pig-0.9.1/bin/pig -l /tmp -x local
src/pig/messages_per_user_id.pig and try out
Publishing Data with Voldemort
cd src/ruby bundle exec ruby push_json.rb cd ../..
Viewing Records in a One-Page Web Application
cd src/ruby bundle exec ruby web.rb
You will see something like this:
Which you can wrap into an interface.