Skip to content

Commit

Permalink
EmrEtlRunner: updated Bash script to support enrichments path (snowpl…
Browse files Browse the repository at this point in the history
…ow/snowplow#916)

StorageLoader: updated combined Bash script to support enrichments path (snowplow/snowplow#917)
  • Loading branch information
alexanderdean authored and chuwy committed Sep 5, 2017
1 parent 0b2e31f commit 665381d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/snowplow-runner-and-loader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ rvm_path=/path/to/.rvm # Typically in the $HOME of the user who installed RVM
RUNNER_PATH=/path/to/snowplow/3-enrich/emr-etl-runner
LOADER_PATH=/path/to/snowplow/4-storage/storage-loader
RUNNER_CONFIG=/path/to/your-runner-config.yml
RUNNER_ENRICHMENTS=/path/to/your/enrichment-jsons
LOADER_CONFIG=/path/to/your-loader-config.yml

# Load the RVM environment
Expand All @@ -24,7 +25,7 @@ source ${rvm_path}/scripts/rvm

# Run the ETL job on EMR
export BUNDLE_GEMFILE=${RUNNER_PATH}/Gemfile
bundle exec ${RUNNER_PATH}/bin/snowplow-emr-etl-runner --config ${RUNNER_CONFIG}
bundle exec ${RUNNER_PATH}/bin/snowplow-emr-etl-runner --config ${RUNNER_CONFIG} --enrichments ${RUNNER_ENRICHMENTS}

# Check the damage
ret_val=$?
Expand Down

0 comments on commit 665381d

Please sign in to comment.