From 4cde37cde6a6388c12597d7fd5ee3cb06a2f3a71 Mon Sep 17 00:00:00 2001 From: Vibhatha Lakmal Abeykoon Date: Thu, 8 Mar 2018 11:12:04 -0500 Subject: [PATCH] fixed the indentation for topics in md style --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2e110f4..be886aa 100644 --- a/README.md +++ b/README.md @@ -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. @@ -16,13 +16,13 @@ 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 @@ -30,11 +30,11 @@ 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`. ``` @@ -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. @@ -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 ```