THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!

Apache Kylin : Analytical Data Warehouse for Big Data

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Resume Job

PUT /kylin/api/jobs/{jobId}/resume

...

  • cubeName - optional. string. Cube name.
  • projectName - optional. string. Project name.
  • status - optional. int. Job status, e.g. (NEW: 0, PENDING: 1, RUNNING: 2, STOPPED: 32, FINISHED: 4, ERROR: 8, DISCARDED: 16)
  • offset - optional. int. Offset used by pagination.
  • limit - optional. int. Jobs per page.
  • timeFilter - optional. int. e.g. (LAST ONE DAY: 0, LAST ONE WEEK: 1, LAST ONE MONTH: 2, LAST ONE YEAR: 3, ALL: 4)

For example, to get the job list in project ‘learn_kylin’ for cube ‘kylin_sales_cube’ in lastone week:

GET: /kylin/api/jobs?cubeName=kylin_sales_cube&limit=15&offset=0&projectName=learn_kylin&timeFilter=1

...

GET /kylin/api/jobs/overview

Request Variables

(Same as “Get job list”)

Response Sample

{
    "STOPPED": 0,
    "DISCARDED": 0,
    "ERROR": 1,
    "NEW": 0,
    "PENDING": 0,
    "FINISHED": 3,
    "RUNNING": 0
}

...