1

I am using Kylin REST API to submit Cube build request, Kylin will build the cube asynchronously, I would ask how to know that the Cube build request has been finished?

Tom
  • 5,848
  • 12
  • 44
  • 104

1 Answers1

2

use the following REST endpoint to get the status of the cube

GET http://localhost:7070/kylin/api/jobs/{job_uuid}

in the returned json objec the field job_status would show the status of the cube build.

  • Thanks @nissanka-seneviratne. But, how to get the `job_uuid` as the parameter for this request? I found that the `build` request returns a JobInstance object, but it looks that this object doesn't contain `job uuid` – Tom Jun 21 '19 at 01:30
  • 1
    I double checked the JobInstance class, it does include `job_uuid` property – Tom Jun 21 '19 at 01:41