You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mlimotte edited this page Feb 20, 2013
·
3 revisions
Assuming install is done and $LEMUR_HOME/bin is in your PATH. You run lemur like this:
lemur <command> <jobdef-file> [options] [remaining]
lemur help - display this help text
lemur run ./jobdef.clj - Run a job on EMR
lemur dry-run ./jobdef.clj - Dry-run, i.e. just print out what would be done
lemur start ./jobdef.clj - Start an EMR cluster, but don't run the steps (jobs)
lemur local ./jobdef.clj - Run the job using local hadoop (e.g. standalone mode)
lemur submit ./jobdef.clj --jobflow j-123456789 - Submit steps to a running jobflow (cluster)
lemur display-types - Display the instance-types with basic stats and exit
lemur spot-price-history - Display the spot price history for the last day and exit
Examples:
lemur run path/to/your-jobdef.clj --foo --bar 1
lemur start src/main/clj/lemur/sample-jobdef.clj
bin/lemur is sensitive to a few environment variables:
export LEMUR_EXTRA_CLASSPATH=...
Comma separated list of classpaths that should be added before your jobdef runs