Apache Livy · Capability
Apache Livy Spark Job Management
Workflow capability for data engineers and data scientists to manage interactive Spark sessions and submit batch Spark jobs via Apache Livy REST API.
What You Can Do
GET
List sessions
—
/v1/sessions
POST
Create session
—
/v1/sessions
POST
Run statement
—
/v1/sessions/{sessionId}/statements
GET
List batches
—
/v1/batches
POST
Create batch
—
/v1/batches
MCP Tools
list-spark-sessions
List all active interactive Spark sessions on the Livy server
read-only
create-spark-session
Create a new interactive Spark session for code execution
get-session-state
Get the current state of a Spark session
read-only
run-spark-code
Execute a code statement in an interactive Spark session
delete-spark-session
Delete an interactive Spark session
submit-batch-spark-job
Submit a batch Spark job to the cluster via Livy
get-batch-state
Get the current state of a batch Spark job
read-only
APIs Used
livy-rest-api