Lorkbong is a project mainly written in RUBY and SHELL, it's free.
Throwaway demo of heroku + wukong + emr
h1. Lorkbong: Very stupid example for Wukong / Elastic Map Reduce integration
Lorkbong (named after the staff carried by Sun Wukong) is a very very simple example Heroku app that lets you trigger showing job status or launching a new job, either by visiting a special URL or by triggering a rake task.
h2. Setup
heroku create lorkbong-example
heroku config:add AWS_ACCESS_KEY_ID=cat /path/to/your/keypair.pem
h2. Debugging
# # You need to edit the following things: # EMR_OPTS = { # # Path to the runner. :emr_runner => "#{::ROOT_DIR}/vendor/elastic-mapreduce/elastic-mapreduce", # # Temp storage for the keypair file (elastic-mapreduce script demands it be a static file). :keypair_file => ::ROOT_DIR+'/tmp/emr_keypair.pem', # # If you're debugging: # # first run with alive set to true, and launch the job. :alive => true, # # After the job has been created and run for the first time, fill your # # jobflow into the following and set alive back to nil. # :jobflow => "j-18OUFBXJ0Z01W", } # Path to the input files. Note the 's3n' prefix. EMR_INPUT = "s3n://emr.yourdomain.com/wukong/data/examples/links-simple-sorted-10k.txt" # Path to the output files. This directory must not exist. Note the 's3n' prefix. EMR_OUTPUT = "s3n://emr.yourdomain.com/wukong/data/examples/wp-link-degree-4"
ssh -i /path/to/your/keypair.pem [email protected]
h2. Credits