Hadoop Setup.
A beautiful &
automated installer for
Apache Hadoop on macOS.
Quick Install
One-line installation
Copy and paste this command in your terminal to get started instantly. The script will automatically detect your Java installation and configure everything for you.
curl -fsSL https://mohitp.me/api/scripts/hadoop-setup | bash
Non-interactive Installation
For automated deployments, use the auto-install mode:
HADOOP_AUTO_INSTALL=true curl -fsSL https://mohitp.me/api/scripts/hadoop-setup | bash
What it does
Sit Back & Relax
Complete hands-off installation with beautiful progress indicators and detailed logging.
Smart Detection
Intelligently detects Java 11 installations from system paths, Homebrew, or JavaVirtualMachines directory.
Safe & Reliable
Uses Homebrew for package management and includes proper error handling and cleanup.
Ready to Use
Starts all Hadoop services and provides web UI access at localhost:9870.
Enhanced Java Detection
Intelligent Java 11 Detection
The script now intelligently detects Java 11 installations from multiple sources and provides helpful guidance if not found.
System Installation
Checks /usr/libexec/java_home
for system-wide Java installations
Homebrew
Detects openjdk@11
installed via Homebrew package manager
JavaVirtualMachines
Scans /Library/Java/JavaVirtualMachines/
for manual installations
No Java 11 found?
The script provides direct download links and installation commands to help you get started quickly.
Requirements
Before you start
Manual Installation
Step-by-step guide
Prefer to do it manually? Here's what the script does behind the scenes.
Created by Mohit Paddhariya
FullStack & Gen-AI Developer • mohitp.me