Acceldata
ODP

Manage Sessions

Listing Active Sessions

# Check sessions on each Livy instance
curl http://<host>:8355/sessions # Livy 3.5.5
curl http://<host>:8333/sessions # Livy 3.3.3
curl http://<host>:8351/sessions # Livy 3.5.1

Monitoring Sessions

# Get specific session details
curl http://<host>:8355/sessions/{session-id}
# Check session state
curl http://<host>:8355/sessions/{session-id}/state
# View session logs
curl http://<host>:8355/sessions/{session-id}/log

Deleting Sessions

# Delete session from specific Livy version
curl -X DELETE http://<host>:8333/sessions/{session-id}