Acceldata
ODP

Last updated: Sep 24, 2026 19:44 UTC

Livy Appendix: Quick Reference

Appendix A: Quick Reference

Installation Commands

# Install mpacks
ambari-server install-mpack --mpack=<path-to-mpack> --verbose
ambari-server restart


Port Reference

Livy Version

Default Port

Alternative Ports

3.5.5

8355

8350-8359

3.5.1

8351

8350-8359

3.3.3

8333

8330-8339


Common API Endpoints

# Version info
curl http://<host>:<port>/version

# List sessions
curl http://<host>:<port>/sessions

# Create session
curl -X POST http://<host>:<port>/sessions -H "Content-Type: application/json" -d '{...}'
# Get session
curl http://<host>:<port>/sessions/{session-id}
# Delete session
curl -X DELETE http://<host>:<port>/sessions/{session-id}
# List batches
curl http://<host>:<port>/batches

# Submit batch
curl -X POST http://<host>:<port>/batches -H "Content-Type: application/json" -d '{...}'


Configuration Locations

# Livy 3.5.5
/etc/livy3/conf/livy.conf
/etc/livy3/conf/livy-env.sh

# Livy 3.3.3
/etc/livy3_3_3_3/conf/livy.conf
/etc/livy3_3_3_3/conf/livy-env.sh

# Livy 3.5.1
/etc/livy3_3_5_1/conf/livy.conf
/etc/livy3_3_5_1/conf/livy-env.sh


Log Locations

# Livy 3.5.5
/var/log/livy3/livy-livy-server.out

# Livy 3.3.3
/var/log/livy333/livy-livy-server.out

# Livy 3.5.1
/var/log/livy351/livy-livy-server.out


Appendix B: API Version Compatibility Matrix

Feature

Livy 3.3.3

Livy 3.5.1

Livy 3.5.5

Interactive Sessions

✅

✅

✅

Batch Jobs

✅

✅

✅

Python Sessions

✅

✅

✅

R Sessions

✅

✅

✅

Scala Sessions

✅

✅

✅

Kerberos Auth

✅

✅

✅

SSL/TLS

✅

✅

✅

Session Pooling

⚠️ Limited

✅

✅ Enhanced

Metrics API

⚠️ Basic

✅

✅ Enhanced

Async Operations

✅

✅

✅ Improved