Run modern DWH stack locally with single command
Dependencies:
docker&docker compose
Usage:
- Checkout repository, change
.envfile if needed. - Run
bash ./scripts/start.sh -w 2to start stack with 2 Spark workers - Run
bash ./scripts/stop.shto stop stack
MinIO web interface on your machine: http://localhost:9001/ MLFlow web interface on yor machine: http://localhost:5000/ Spark Master web interface on your machine: http://localhost:8080
Local dev environment setup for experiment tracking and artifact storage
Implements Scenario 4 from MLflow documentation
Environment variables for training scripts:
import mlflow
import os
os.environ['AWS_ACCESS_KEY_ID'] = "1234"
os.environ['AWS_SECRET_ACCESS_KEY'] ="123441212344321"
os.environ['MLFLOW_S3_ENDPOINT_URL']="http://localhost:9000"
mlflow.set_tracking_uri('http://localhost:5000/')For mlflow CLI also environment variable must be set
export MLFLOW_TRACKING_URI=http://localhost:5000/
