Apache Livy · Example Payload

Rest Api Statement Example

Big DataInteractive ComputingOpen SourceRESTSpark

Rest Api Statement Example is an example object payload from Apache Livy, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idcodestateoutput

Example Payload

Raw ↑
{
  "id": 0,
  "code": "sc.parallelize([1,2,3]).count()",
  "state": "available",
  "output": {
    "status": "ok",
    "execution_count": 0,
    "data": {}
  }
}