Doc: https://zeppelin.apache.org/docs/latest/setup/basics/how_to_build.html#build-requirements
# Mac dev env (skip this step if already done)
xcode-select --install
# Install Maven
brew install maven
# Install JDK 11
brew install openjdk@11
sudo ln -sfn /opt/homebrew/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk
echo 'export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"' >> ~/.zshrc
export CPPFLAGS="-I/opt/homebrew/opt/openjdk@11/include"
# Install Scala 2.12
brew install scala@2.12
echo 'export PATH="/opt/homebrew/opt/scala@2.12/bin:$PATH"' >> ~/.zshrc
# Clone Zeppelin repo
git clone <https://github.com/apache/zeppelin.git>
cd zeppelin/
# Install dependencies
./mvnw clean install -DskipTests
# Build Zeppelin
./mvnw clean package -DskipTests
# Start Zeppelin
./bin/zeppelin-daemon.sh start
# Open Zeppelin UI
localhost:8080
# Stop Zeppelin
./bin/zeppelin-daemon.sh stop
# Install NPM, NVM
brew install npm
brew install nvm
# Download and install node 16
# <https://nodejs.org/download/release/latest-v16.x/node-v16.20.2.pkg>
echo 'export PATH="/usr/local/bin/node/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
node -v
cd zeppelin-web-angular
npm i
npm run postinstall
npm run ng
npm run start
# Open Zeppelin UI
localhost:4200
If you already installed Python3:
Go to your login (anonymous
by default) → Interpreter → Search Python → Change zeppelin.python
value to python3
from python
→ Save
Create new Note with Python Interpreter as a default interpreter
Provide the following python example code and execute it by Shift + Enter
print("Hello Zeppelin!")