Acceldata Open Source Data Platform
ODP 3.2.3.5-3
Release Notes
What is ODP
Installation
Advanced Installation
Configuration and Management
Upgrade
USER GUIDES
Security
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Troubleshooting Livy 3
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Issue: Livy Server Not Visible in Ambari UI
Symptoms: Livy component doesn't appear when adding Spark service
Solution:
Bash
x
# Verify mpack installationambari-server list-mpacks# Expected output should include spark3 mpacks# spark3-ambari-3.5.5.mpack# spark3-ambari-3.3.3.mpack# Clear Ambari cacheambari-server stoprm -rf /var/lib/ambari-server/cache/*ambari-server startIssue: Port Conflict - "Address already in use"
Symptoms: Livy server fails to start with port binding error
Error Message:
Bash
Exception in thread "main" java.io.IOException: Failed to bind to /0.0.0.0:8333Caused by: java.net.BindException: Address already in useSolution:
- Check what's using the port:
Bash
sudo netstat -tulpn | grep 8333# orsudo lsof -i :8333- Update Livy configuration:
Bash
# Edit configuration via Ambari UI:# Services → SPARK3_3_3_3 → Configs → Advanced livy3-3.3.3-conf# Change: livy.server.port = 8334 (or another available port)# Or edit directly:vi /etc/livy3_3_3_3/conf/livy.conf# Update: livy.server.port = 8334- Restart Livy Server:
Bash
# Via Ambari UI or:ambari-agent restartIssue: Wrong Spark Version Used
Symptoms: Livy sessions use incorrect Spark version
Solution:
- Verify SPARK_HOME in livy-env.sh:
Bash
# For Livy 3.3.3, should point to Spark 3.3.3cat /etc/livy3_3_3_3/conf/livy-env.sh | grep SPARK_HOME# Expected: export SPARK_HOME=/usr/odp/current/spark3_3_3_3-clientUpdate via Ambari:
- Services → SPARK3_3_3_3 → Configs → Advanced livy3-3.3.3-env
- Set correct SPARK_HOME path
- Save and restart Livy
Verify Spark version in session:
Bash
# Create test sessionSESSION_ID=$(curl -X POST http://localhost:8356/sessions \ -H "Content-Type: application/json" \ -d '{"kind":"spark"}' | jq -r '.id')# Check Spark versioncurl http://localhost:8356/sessions/$SESSION_ID | jq '.appInfo.sparkUiUrl'Issue: Session Creation Fails
Symptoms: REST API returns error when creating sessions
Common Errors and Solutions:
Error: "Session not found"
Bash
# Check if Livy server is runningcurl http://<host>:8333/version# Check Livy logstail -f /var/log/livy333/livy-livy-server.outError: "YARN queue not found"
Bash
{ "conf": { "spark.yarn.queue": "existing-queue-name" }}Error: "Insufficient resources"
Bash
# Check YARN capacityyarn application -status# Reduce resource requirementscurl -X POST http://<host>:8333/sessions \ -H "Content-Type: application/json" \ -d '{ "kind": "spark", "conf": { "spark.executor.memory": "1g", "spark.executor.cores": 1, "spark.executor.instances": 1 } }'Issue: Sessions Timeout Unexpectedly
Symptoms: Livy sessions terminate before completion
Solution:
Increase session timeout:
Bash
# /etc/livy3_3_3_3/conf/livy.conflivy.server.session.timeout = 2hlivy.server.session.timeout-check = truelivy.server.session.timeout-check.interval = 60000 # 60 secondsOr disable timeout for long-running jobs:
Bash
livy.server.session.timeout = 0 # Disable timeoutIssue: Livy UI Shows Wrong Version
Symptoms: Livy REST API reports incorrect version
Solution:
- Verify correct binaries are being used:
Bash
ps aux | grep livy | grep java# Should show correct path like /usr/odp/current/livy3_3_3_3-server- Check symlinks:
Bash
ls -la /usr/odp/current/ | grep livy3- Restart Livy with the correct LIVY_HOME:
Bash
export LIVY_HOME=/usr/odp/current/livy3_3_3_3-server$LIVY_HOME/bin/livy-server restartSession Pooling
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Jan 28, 2026
Was this page helpful?
Next to read:
Session and Connection PoolingDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message