Skip to content

Commit

Permalink
instalaltion doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalgoyal committed Jan 2, 2022
1 parent 045d0e8 commit b957b87
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/setup/installation.md
Expand Up @@ -7,8 +7,8 @@ nav_order: 3
## Running from Docker image from Docker hub
The easiest way to get started is pulling the Docker image with the last release of Zingg.
```
docker pull zingg/zingg:0.3.0
docker run -it zingg/zingg:0.3.0 bash
docker pull zingg/zingg:0.3.1
docker run -it zingg/zingg:0.3.1 bash
```

## Installation
Expand All @@ -23,7 +23,7 @@ Zingg is prebuilt for common Spark versions so you can use those directly. The f
### Prerequisites
A) Java JDK - version "1.8.0_131"

B) Apache Spark - version spark-3.0.1-bin-hadoop2.7
B) Apache Spark - version spark-3.1.2-bin-hadoop3.2

#### Prerequisites for running Zingg on single machine without setting up a Spark cluster
(Good for a few million records)
Expand All @@ -35,7 +35,7 @@ Please add the following entries to ~/.bash_aliases

>export JAVA_HOME=path to jdk
>export SPARK_HOME=path to spark-3.0.1-bin-hadoop2.7
>export SPARK_HOME=path to location of Apache Spark
>export SPARK_MASTER=local[*]
Expand All @@ -47,7 +47,7 @@ Run ifconfig to find the ip of the machine and make sure it is added to the /etc
If you have a ready Spark cluster, you can run Zingg by configuring the following environment on your driver machine
>export JAVA_HOME=path to jdk
>export SPARK_HOME=path to spark-3.0.1-bin-hadoop2.7
>export SPARK_HOME=path to Apache Spark
>export SPARK_MASTER=spark://master-host:master-port
Expand All @@ -56,13 +56,13 @@ If you have a ready Spark cluster, you can run Zingg by configuring the followin

Download the tar zingg-version.tar.gz to a folder of your choice and run the following

>gzip -d zingg-0.3.0-SNAPSHOT-bin.tar.gz ; tar xvf zingg-0.3.0-SNAPSHOT-bin.tar
>gzip -d zingg-0.3.1-SNAPSHOT-bin.tar.gz ; tar xvf zingg-0.3.1-SNAPSHOT-bin.tar
This will create a folder zingg-0.3.0-SNAPSHOT under the chosen folder.
This will create a folder zingg-0.3.1-SNAPSHOT under the chosen folder.

Move the above folder to zingg.

>mv zingg-0.3.0-SNAPSHOT-bin ~/zingg
>mv zingg-0.3.1-SNAPSHOT-bin ~/zingg
>export ZINGG_HOME=path to zingg
Expand Down

0 comments on commit b957b87

Please sign in to comment.