Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shixi99/spark-multinode

Standalone Spark cluster on Docker
https://github.com/shixi99/spark-multinode

Last synced: 6 days ago
JSON representation

Standalone Spark cluster on Docker

Awesome Lists containing this project

README

        

## Configure Spark standalone cluster on Docker

[Read detailed artice on medium](https://shixieyyub.medium.com/dockerd%C9%99-spark-standalone-cluster-qurulmas%C4%B1-2bca5410daf7)

### To run this project on your local machine:

Make sure you have **Docker Desktop**, **git** and **Make** installed on your computer

Open 2 terminals

In the first terminal run commands below
```bash
mkdir my_park_project
```
```
cd my_spark_project
```
```
git clone https://github.com/Shixi99/spark-multinode.git
```
```
cd spark-multinode
```
```
make run-scaled
```

In the second terminal
```bash
cd myproject\spark-multinode
```
```
make run submit app=sales.py
```

To down containers
```bash
make down
```