All-in-one Big Data & ML Docker: Hadoop, Hive, Pig, Mahout, Spark, Python & PySpark.
259
unicorn666/bigdata_ml_env v1.0.0 is an all-in-one Docker image for big data processing, analytics, and machine learning.
It provides a pseudo-distributed Hadoop cluster (HDFS + YARN) along with Hive, Pig, Mahout, Spark, and a Python ML environment ready for development, experimentation, and learning.
pyenvThis image uses pyenv to manage Python versions.
# List available Python versions
pyenv install --list
# Install a new version
pyenv install 3.11.5
# Set global default
pyenv global 3.11.5
# Use a specific version locally in a project
pyenv local 3.9.18
Docker installed
sudo apt install docker.io or Docker EngineDocker Hub account (to pull the image)
docker pull unicorn666/bigdata_ml_env:v1.0.0
docker run -it \
-v $(pwd)/uploads:/app/uploads \
-v $(pwd)/output:/app/output \
-v $(pwd)/logs:/app/logs \
-v $(pwd)/src:/app/src \
unicorn666/bigdata_ml_env:v1.0.0 shell
docker run -it `
-v ${PWD}/uploads:/app/uploads `
-v ${PWD}/output:/app/output `
-v ${PWD}/logs:/app/logs `
-v ${PWD}/src:/app/src `
unicorn666/bigdata_ml_env:v1.0.0 shell
docker run -it --rm ^
-v %cd%/uploads:/app/uploads ^
-v %cd%/output:/app/output ^
-v %cd%/logs:/app/logs ^
-v %cd%/src:/app/src ^
unicorn666/bigdata_ml_env:v1.0.0 shell
Notes:
http://localhost:9870http://localhost:8088/app directory:spark-submit /app/src/recommendation_system.py
docker run -v /local/uploads:/app/uploads \
-v /local/output:/app/output \
-v /local/logs:/app/logs \
unicorn666/bigdata_ml_env:v1.0.0 shell
docker run -v /local/hdfs:/hdfs unicorn666/bigdata_ml_env:v1.0.0 shell
/hdfs/logs inside the container:tail -f /hdfs/logs/namenode.log
tail -f /hdfs/logs/datanode.log
tail -f /hdfs/logs/resourcemanager.log
spark-submit /app/src/recommendation_system.py
hive
pig /app/src/sample.pig
cd /app/src/web_ui
gunicorn -w 2 -k gthread --threads 4 -b 0.0.0.0:5000 app:app
/app is the working directory; mount your projects here for persistence.Enjoy a fully configured Big Data & ML development environment!
Content type
Image
Digest
sha256:037e97a2d…
Size
3.2 GB
Last updated
about 1 year ago
docker pull unicorn666/bigdata_ml_env:v1.0.0