Skip to content

Commit 30f7bc7

Browse files
authored
Update README.md
1 parent 6088a35 commit 30f7bc7

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

README.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,19 @@
1-
Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
3-
Licensed under the Apache License, Version 2.0 (the "License"). You
4-
may not use this file except in compliance with the License. A copy of
5-
the License is located at
6-
7-
http://aws.amazon.com/apache2.0/
8-
9-
or in the "license" file accompanying this file. This file is
10-
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11-
ANY KIND, either express or implied. See the License for the specific
12-
language governing permissions and limitations under the License.
13-
14-
151
EMR bootstrap actions
162
=====================
173

18-
A bootstrap action is a shell script stored in [Amazon S3](http://aws.amazon.com/s3/) that [Amazon EMR](http://aws.amazon.com/elasticmapreduce/) executes on every node of your cluster.
19-
Bootstrap actions execute as the `hadoop` user by default; they execute with root privileges if you use `sudo`.<br>From the [Ruby EMR Command Line Interface](http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-cli-reference.html) you can reference a bootstrap action as follows:
4+
> **Warning**: This repository is undergoing updating and modernization – please bear with us.
5+
6+
A bootstrap action is a shell script stored in [Amazon S3](http://aws.amazon.com/s3/) that [Amazon EMR](https://aws.amazon.com/emr/) executes on every node of your cluster after boot and prior to application provisioning.
7+
Bootstrap actions execute as the `hadoop` user by default; commands can be executed with root privileges if you use `sudo`.
8+
9+
From the [AWS CLI EMR `create-cluster` command](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/emr/create-cluster.html) you can reference a bootstrap action as follows:
2010

2111

2212
```sh
23-
--bootstrap-action "s3://myawsbucket/FileName" --args "arg1,arg2"
13+
--bootstrap-actions Name=action-name,Path=s3://myawsbucket/FileName,Args=arg1,arg2
2414
```
2515

26-
For more information about EMR Bootstrap actions see [DeveloperGuide](http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-bootstrap.html)
16+
For more information about EMR Bootstrap actions see [DeveloperGuide](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-bootstrap.html)
2717

2818
The code samples in this repository are meant to illustrate how to setup popular applications on Amazon EMR using bootstrap actions.
2919
They are not meant to be run in production and all users should carefully inspect code samples before running them.

0 commit comments

Comments
 (0)