Acceldata
ODP

Last updated: Sep 24, 2026 22:17 UTC

Best Practices

  • Version Selection Strategy
New Applications → Livy 3.5.5 ✅
Legacy Apps (3.3.x) → Livy 3.3.3 ⚠️
Compatibility Testing → Livy 3.5.1 🧪
  • Port Standardization

Maintain consistent port allocation across environments:

Development: 8355, 8351, 8333
Staging: 8355, 8351, 8333
Production: 8355, 8351, 8333
  • Client Configuration Management

Use environment-specific configuration files:

# config/livy_endpoints.py
LIVY_ENDPOINTS = {
 'production': {
 '3.5.5': 'http://livy-prod.company.com:8355',
 '3.3.3': 'http://livy-prod.company.com:8333',
 },
 'staging': {
 '3.5.5': 'http://livy-stg.company.com:8355',
 '3.3.3': 'http://livy-stg.company.com:8333',
 }
}
  • Graceful Deprecation

When deprecating older Livy versions:

  • Announce deprecation (3-6 months' notice)
  • Monitor usage (track active sessions)
  • Migrate clients (provide migration guides)
  • Disable new sessions (read-only mode)
  • Decommission (after all clients migrated)