Apache Kylin · JSON Structure

Rest Api Job Structure

A Kylin build job

Type: object Properties: 9
AnalyticsBig DataCubeOLAPOpen SourceSQL

Job is a JSON Structure definition published by Apache Kylin, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

uuid name type relatedCube relatedSegment status submitTime duration mrWaiting

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-kylin/refs/heads/main/json-structure/rest-api-job-structure.json",
  "name": "Job",
  "description": "A Kylin build job",
  "properties": {
    "uuid": {
      "type": "string",
      "example": "job-1234"
    },
    "name": {
      "type": "string",
      "example": "BUILD CUBE - kylin_sales_cube"
    },
    "type": {
      "type": "string",
      "example": "BUILD"
    },
    "relatedCube": {
      "type": "string",
      "example": "kylin_sales_cube"
    },
    "relatedSegment": {
      "type": "string",
      "example": "segment-1234"
    },
    "status": {
      "type": "string",
      "enum": [
        "READY",
        "RUNNING",
        "ERROR",
        "STOPPED",
        "FINISHED",
        "DISCARDED"
      ],
      "example": "FINISHED"
    },
    "submitTime": {
      "type": "integer",
      "description": "Submit time as Unix timestamp",
      "example": 1718153645993
    },
    "duration": {
      "type": "integer",
      "description": "Job duration in seconds",
      "example": 120
    },
    "mrWaiting": {
      "type": "integer",
      "description": "MapReduce waiting time",
      "example": 10
    }
  }
}