Skip to content

Commit 4701b2c

Browse files
committed
revamp emr
1 parent df750de commit 4701b2c

File tree

1 file changed

+10
-11
lines changed
  • src/content/docs/aws/services

1 file changed

+10
-11
lines changed

src/content/docs/aws/services/emr.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
title: "Elastic MapReduce (EMR)"
3-
linkTitle: "Elastic MapReduce (EMR)"
43
tags: ["Ultimate"]
5-
description: >
6-
Get started with Elastic MapReduce (EMR) on LocalStack
4+
description: Get started with Elastic MapReduce (EMR) on LocalStack
75
---
86

97
## Introduction
@@ -16,13 +14,13 @@ LocalStack supports EMR and allows developers to run data analytics workloads lo
1614
EMR utilizes various tools in the [Hadoop](https://hadoop.apache.org/) and [Spark](https://spark.apache.org) ecosystem, and your EMR instance is automatically configured to connect seamlessly to LocalStack's S3 API.
1715
LocalStack also supports EMR Serverless to create applications and job runs, to run your Spark/PySpark jobs locally.
1816

19-
The supported APIs are available on our [API coverage page]({{ ref "coverage_emr" >}}), which provides information on the extent of EMR's integration with LocalStack.
17+
The supported APIs are available on our [API coverage page](), which provides information on the extent of EMR's integration with LocalStack.
2018

21-
{{< callout >}}
19+
:::note
2220
To utilize the EMR API, certain additional dependencies need to be downloaded from the network (including Hadoop, Hive, Spark, etc).
2321
These dependencies are fetched automatically during service startup, hence it is important to ensure a reliable internet connection when retrieving the dependencies for the first time.
24-
Alternatively, you can use one of our `*-bigdata` Docker image tags which already ship with the required libraries baked in and may provide better stability (see [here]({{< ref "/user-guide/ci/#ci-images" >}}) for more details).
25-
{{< /callout >}}
22+
Alternatively, you can use one of our `*-bigdata` Docker image tags which already ship with the required libraries baked in and may provide better stability (see [here]() for more details).
23+
:::
2624

2725
## Getting started
2826

@@ -32,14 +30,15 @@ Start your LocalStack container using your preferred method.
3230
We will create a virtual EMR cluster using the AWS CLI.
3331
To create an EMR cluster, run the following command:
3432

35-
{{< command >}}
36-
$ awslocal emr create-cluster \
33+
```bash
34+
awslocal emr create-cluster \
3735
--release-label emr-5.9.0 \
3836
--instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=1,InstanceType=m4.large
39-
{{< / command >}}
37+
```
38+
4039
You will see a response similar to the following:
4140

42-
```sh
41+
```bash
4342
{
4443
"ClusterId": "j-A2KF3EKLAOWRI"
4544
}

0 commit comments

Comments
 (0)