Data Stack built using Docker Compose
- Docker CE
- Docker Compose
- MySQL client
Clone the repository.
Edit the host file on your machine:
sudo vim /etc/hosts
Run:
docker-compose up -d
Wait a moment for all services to start.
Run the following command to send a sample data file to Hadoop:
sh scripts/send-file.sh
Run the following command to create tables in the database:
sh scripts/create-table.sh
Access Jupyter in your browser at: http://localhost:8888
Run: spark.ipynb
- Docker ps
- Send data file to Hadoop:
- Create tables in the database:
- Check the file on Hadoop:
- Read and write data to the database:
- Verify in the database: