Self-host hadoop
rel/release-3.5.0Distributed storage and compute for large data clusters
- Stars
- 15 712
- Ports
- 9870 (NameNode web interface (HTTP)), 8088 (ResourceManager web interface (HTTP)), 19888 (MapReduce JobHistory Server web interface (HTTP))
apache/hadoopWhat is hadoop?
Apache Hadoop is the Apache Software Foundation's open-source toolkit for running data-heavy work across racks of ordinary servers. HDFS keeps large files spread over the cluster and serves them at high throughput, YARN hands out cluster resources and schedules applications, MapReduce executes parallel batch jobs on top of YARN, and Hadoop Common holds the shared utilities. Installations range from one Java process for debugging, through a pseudo-distributed node where each daemon gets its own process, to a full multi-node setup with dedicated master hosts for the NameNode and ResourceManager plus workers running DataNode and NodeManager. You tune behaviour in the XML files beneath etc/hadoop and in hadoop-env.sh, format the filesystem once, then start and stop services with the scripts in sbin. HDFS can also be reached over HTTP through the WebHDFS REST API, the NameNode, ResourceManager and JobHistory Server each publish a browser dashboard, and turning on secure mode puts Kerberos in front of every service and user. Releases ship as source and binary tarballs from Apache mirrors; the guides assume GNU/Linux with a Java runtime and ssh trust between hosts, and they deliberately leave Kerberos wiring, high availability and rack awareness as your own production work.
hadoop alternatives
mesosOpen-source Apache Mesos is a self-hosted cluster manager that pools CPU, memory and GPU across your own servers for frameworks like Hadoop, Spark and Jenkins.Comparemesos with hadoop
Apache HopApache Hop is a self-hosted, open-source data integration platform for visual pipelines that run on local, Hop Server, Spark, Flink, and Dataflow without rewriting.CompareApache Hop with hadoop
zookeeperApache ZooKeeperComparezookeeper with hadoop
Apache DruidApache Druid: a high performance real-time analytics database.CompareApache Druid with hadoop
juicefsSelf-hosted, open-source JuiceFS is a POSIX file system: blocks go to object storage, metadata to Redis, MySQL or SQLite, plus S3, WebDAV and HDFS access.Comparejuicefs with hadoop
cephSelf-hosted, open-source distributed storage cluster offering S3-compatible object, RBD block and CephFS POSIX file services from commodity hardware.Compareceph with hadoop
DruidSelf-hosted open-source OLAP database delivering millisecond analytics on high-cardinality event data, with SQL, JDBC, a web console and native Kafka/Kinesis ingestion.CompareDruid with hadoop
Apache CassandraSelf-hosted, open-source distributed NoSQL database: a masterless partitioned row store with multi-datacenter replication, queried with CQL over the native protocol.CompareApache Cassandra with hadoop
Should you self-host hadoop?
hadoop scores 76/100 on selfhost.directory (how scoring works) and ranks #1 of 1 in Distributed Systems. It has 15 712 GitHub stars, +31 in the last 30 days.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Java.
Features
- Application-layer fault tolerance
- Daemon web dashboards
- Distributed file system (HDFS)
- Horizontal scaling from one server to thousands
- Job scheduling and cluster resource management (YARN)
- Kerberos-based secure mode
- Log Aggregation
- MapReduce batch processing
- Node health monitoring
- Rack-aware placement
- Standalone, pseudo-distributed and fully-distributed modes
- User impersonation (proxy users)
- WebHDFS REST API
hadoop README
For the latest information about Hadoop, please visit our website at: http://hadoop.apache.org/ and our wiki, at: https://cwiki.apache.org/confluence/display/HADOOP/
More in Distributed Systems
mesosOpen-source Apache Mesos is a self-hosted cluster manager that pools CPU, memory and GPU across your own servers for frameworks like Hadoop, Spark and Jenkins.
minikvA self-hosted, open-source distributed key-value and object store written in Rust that achieves strong consistency through Raft consensus and two-phase commit.
nsqOpen-source self-hosted distributed messaging platform: push-based pub-sub over topics and channels, in-memory queues that spill to disk, plus the nsqadmin web UI.
OpenAFSOpenAFS is a self-hosted, open-source distributed filesystem providing location-independent file sharing across Linux, UNIX, macOS, and Windows with Kerberos auth.
temporalSelf-hosted, open-source workflow engine that keeps application logic durable across crashes and retries, with multi-cluster replication and archival.
xtreemfsXtreemFS is a self-hosted, open-source distributed file system with fault-tolerant replication, POSIX compatibility, and mounts on Linux, Windows, and macOS.
bacalhauOpen-source orchestration framework for running Docker and WebAssembly jobs close to their data; self-hosted via one binary as client, orchestrator or compute node.
CondensationAn open-source distributed data system for app builders: conflict-free sync, end-to-end encryption and self-hosted store servers on a file system or MySQL.
consulSelf-hosted Consul is a service networking tool for service discovery, service mesh with mTLS, API gateway and health checks across multi-datacenter infrastructure.
CotalCotal is an open-source, self-hosted pub/sub protocol letting AI agents from different providers coordinate in a shared space with presence and durable delivery.
etcdA self-hosted, open-source distributed key-value store using Raft consensus for critical data in clustered systems. CNCF graduated project.
exoSelf-hosted, open-source AI cluster that links your Macs and Linux boxes to run large LLMs locally via MLX, with Thunderbolt 5 RDMA and an OpenAI/Ollama-compatible API.
0 comments