GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - teo-devops/spark_ML: Machine learning distribuido con Spark MLlib en notebooks

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
config
config
 
 
docker/jupyter
docker/jupyter
 
 
labs
labs
 
 
mlflow_data
mlflow_data
 
 
sh
sh
 
 
.env
.env
 
 
.env.template
.env.template
 
 
.gitignore
.gitignore
 
 
GEMINI.md
GEMINI.md
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

⚡ Spark ML & AI Distributed Laboratory

Spark MLflow Python Docker

A professional, containerized environment for Distributed Data Science and Machine Learning. Designed for high-performance model training, LLM experimentation, and experiment tracking.

🚀 Quick Start

  1. Clone the repository
  2. Launch the Bootstrap script:
    ./sh/bootstrap.sh
    This script will handle dependencies, environment variables, and start the Docker cluster.

🏗️ Arquitectura y Componentes

El laboratorio está diseñado siguiendo principios de Single Responsibility, asegurando que cada servicio cumpla un rol específico y escalable:

Componente Función Justificación
Spark Master Coordinador del Cluster Gestiona la distribución de tareas y recursos entre los workers.
Spark Workers (x2) Nodos de Cómputo Ejecutan el procesamiento pesado de datos de forma paralela.
Jupyter Lab Entorno de Desarrollo Interfaz interactiva pre-configurada con Spark, PyTorch y MLflow.
MLflow Server Tracking de Experimentos Registro centralizado de parámetros, métricas y modelos de ML.
Hive Metastore Catálogo de Datos Permite que todos los nodos del cluster compartan las mismas tablas y esquemas.
MariaDB (DB) Persistencia de Metadata Base de datos relacional para el almacenamiento persistente del catálogo Hive.
History Server Análisis Post-Mortem Permite auditar y optimizar jobs de Spark una vez han finalizado.
Jar Downloader Gestor de Dependencias Automatiza la descarga de conectores críticos (MySQL, BigQuery) al iniciar.

🌐 Access Points

Service Local URL Description
Jupyter Lab http://localhost:8888 Dev environment (Token: spark123)
Spark Master UI http://localhost:8080 Cluster monitoring & workers status
MLflow UI http://localhost:5000 Experiment tracking & model comparison
Spark History http://localhost:18080 Analysis of completed Spark jobs

🛠️ Features

  • Distributed LLM Inference: Optimized for Hugging Face Transformers using Pandas UDFs and Apache Arrow.
  • Automated Secrets: Secure handling of GCP keys and database passwords via .env.
  • Shared Artifacts: Custom shared volume architecture to allow distributed logging of models to MLflow from any node.
  • BigQuery Integration: Native connector pre-installed and configured.

📁 Project Structure

.
├── config/           # Service configurations (Spark, Hive)
├── data/             # Local datasets
├── docker/           # Custom Dockerfiles
├── labs/             # Jupyter Notebooks (Main workspace)
├── mlflow_data/      # MLflow experiments and artifacts
├── secrets/          # Private keys (GCP)
├── sh/               # Infrastructure scripts
└── src/              # Production source code

Built for Advanced Data Science Workflows.

About

Machine learning distribuido con Spark MLlib en notebooks

Topics

area-mlopsjupytermachine-learningmllibspark

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.