Skip to content

fixed the indentation for topics in md style #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This repository is a `containerized` version of the [spark-native-yarn](https://
This Docker image depends on our previous [Hadoop Docker](https://github.com/sequenceiq/hadoop-docker) image, available at the SequenceIQ [GitHub](https://github.com/sequenceiq) page. The base Hadoop Docker image is also available as an official [Docker image](https://registry.hub.docker.com/u/sequenceiq/hadoop-docker/) (sequenceiq/hadoop-docker).


###Pull the image from the Docker Repository
### Pull the image from the Docker Repository

We suggest to always pull the container from the official Docker repository - as this is always maintained and supported by us.

Expand All @@ -16,25 +16,25 @@ docker pull sequenceiq/spark-native-yarn

Once you have pulled the container you are ready to run the image.

###Run the image
### Run the image

```
docker run -i -t -h sandbox sequenceiq/spark-native-yarn /etc/bootstrap.sh -bash
```

###Versions
### Versions

```
Hadoop 2.5.1 and Apache Spark 1.1.0 and Apache Tez 0.5
```

You now have a fully configured Apache Spark, where the `execution context` is [Apache Tez](http://tez.apache.org/).

###Test the container
### Test the container

We have pushed sample data and tests from the [code repository](https://github.com/hortonworks/spark-native-yarn-samples) into the Docker container, thus you can start experimenting right away without writing one line of code.

####Calculate PI
#### Calculate PI
Simplest example to test with is the `PI calculation`.

```
Expand All @@ -47,7 +47,7 @@ You should expect something like the following as the result:
Pi is roughly 3.14668
```

####Run a KMeans example
#### Run a KMeans example

Run the `KMeans` example using the sample dataset.

Expand All @@ -64,7 +64,7 @@ DenseVector(9.2, 9.2, 9.2)
DenseVector(0.0, 0.0, 0.0)
DenseVector(9.05, 9.05, 9.05)
```
####Other examples (Join, Partition By, Source count, Word count)
#### Other examples (Join, Partition By, Source count, Word count)

Join
```
Expand Down