big-data-europe/docker-hadoop
big-data-europe/docker-hadoop has 2,319 GitHub stars and 1,424 forks. GitHot measured -1 in 7 days and +2 in 15 days. Last checked 2026-11-09 19:53 UTC. Last push 2024-02-01.
Apache Hadoop docker image
Measured star growth
- in 24h
- Update delayed
- in 7 days
- -1
- in 15 days
- +2
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalChanges
Version 2.0.0 introduces uses wait_for_it script for the cluster startup
Hadoop Docker
Supported Hadoop Versions
See repository branches for supported hadoop versions
Quick Start
To deploy an example HDFS cluster, run:
docker-compose up
Run example wordcount job:
make wordcount
Or deploy in swarm:
docker stack deploy -c docker-compose-v3.yml hadoop
docker-compose creates a docker network that can be found by running docker network list, e.g. dockerhadoop_default.
Run docker network inspect on the network (e.g. dockerhadoop_default) to find the IP the hadoop interfaces are published on. Access these interfaces with the following URLs:
- Namenode: http://<dockerhadoop_IP_address>:9870/dfshealth.html#tab-overview
- History server: http://<dockerhadoop_IP_address>:8188/applicationhistory
- Datanode: http://<dockerhadoop_IP_address>:9864/
- Nodemanager: http://<dockerhadoop_IP_address>:8042/node
- Resource manager: http://<dockerhadoop_IP_address>:8088/
Configure Environment Variables
The configuration parameters can be specified in the hadoop.env file or as environmental variables for specific services (e.g. namenode, datanode etc.):
CORE_CONF_fs_defaultFS=hdfs://namenode:8020
CORE_CONF corresponds to core-site.xml. fs_defaultFS=hdfs://namenode:8020 will be transformed into:
<property><name>fs.defaultFS</name><value>hdfs://namenode:8020</value></property>
To define dash inside a configuration parameter, use triple underscore, such as YARN_CONF_yarn_log___aggregation___enable=true (yarn-site.xml):
<property><name>yarn.log-aggregation-enable</name><value>true</value></property>
The available configurations are:
- /etc/hadoop/core-site.xml CORE_CONF
- /etc/hadoop/hdfs-site.xml HDFS_CONF
- /etc/hadoop/yarn-site.xml YARN_CONF
- /etc/hadoop/httpfs-site.xml HTTPFS_CONF
- /etc/hadoop/kms-site.xml KMS_CONF
- /etc/hadoop/mapred-site.xml MAPRED_CONF
If you need to extend some other configuration file, refer to base/entrypoint.sh bash script.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,625 starspublic-apis/public-apis
A collective list of free APIs
497,974 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
450,225 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,301 stars