GitHub user mdagost opened a pull request:
https://github.com/apache/spark/pull/8359
ENH: Add ability to specify s3 bootstrap script to spark-ec2
One of the nice features of using EMR to start spark clusters is that you
can specify bootstrap actions to run on each node. This is useful for
installing custom libraries, etc. However, you pay a per-node/per-hour premium
for using EMR (https://aws.amazon.com/elasticmapreduce/pricing/).
This pull request adds the `--bootstrap-script` flag to the `spark-ec2`
script. This flag specifies an s3 path to a shell script. The script is
downloaded and run on each node during the setup process. The flag can be
specified multiple times for multiple bootstrap actions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mdagost/spark ec2_bootstrap
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8359.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #8359
----
commit d51aec04dc3f700de09cc398fc69b96cb86061b9
Author: Michelangelo D'Agostino <[email protected]>
Date: 2015-08-21T15:43:10Z
ENH: Add ability to specify s3 bootstrap script to spark-ec2.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]