Re: when status of segment is 'NEW',the last_build_job_id is null

2017-10-10 Thread 周湘伦
Thank you. I didn't has error message. If building a cube fails or spend too much time, I'll find out which step is wrong,then discard or resume job with api.This is what i want to do. But i don't know how to use this api http://kylin.apache.org/ docs21/howto/howto_use_restapi.html#get-job-list wi

Re: when status of segment is 'NEW',the last_build_job_id is null

2017-10-07 Thread Li Yang
Please describe detailed error message, or others cannot help. On Mon, Sep 25, 2017 at 8:34 PM, 周湘伦 wrote: > Thank you for your answer. > But i don't kwon how to use curl to get job list,like this? > curl -X GET -H "Authorization: Basic QURNSU46S1lMSU4=" -H > "Content-Type:application/json" > ht

Re: when status of segment is 'NEW',the last_build_job_id is null

2017-09-25 Thread 周湘伦
Thank you for your answer. But i don't kwon how to use curl to get job list,like this? curl -X GET -H "Authorization: Basic QURNSU46S1lMSU4=" -H "Content-Type:application/json" http://198.19.1.49:7070/kylin/api/jobs?CubeName=Indus_Trans_Cube&projectName=yxlm_cs&status=1&offset=1&limit=10&timeFilter

Re: when status of segment is 'NEW',the last_build_job_id is null

2017-09-10 Thread Li Yang
Both the GUI (jobs panel) and Rest API can find failed jobs. http://kylin.apache.org/docs21/howto/howto_use_restapi.html#get-job-list On Mon, Sep 4, 2017 at 6:30 PM, 周湘伦 wrote: > Thank you for your answer. > One more question: > how can i search for the failed job list? By command or API? > > >

Re: when status of segment is 'NEW',the last_build_job_id is null

2017-09-04 Thread 周湘伦
Thank you for your answer. One more question: how can i search for the failed job list? By command or API? 2017-08-31 8:55 GMT+08:00 ShaoFeng Shi : > Hi, > > If resume a job, you need get the job uuid; The uuid was returned when you > submit the job request. > > Another way is to do a search fo

Re: when status of segment is 'NEW',the last_build_job_id is null

2017-08-30 Thread ShaoFeng Shi
Hi, If resume a job, you need get the job uuid; The uuid was returned when you submit the job request. Another way is to do a search for the failed job list, and get the job uuid from the result. The segment's "last_build_job_id" will be updated when there is a successful build. In your case as

when status of segment is 'NEW',the last_build_job_id is null

2017-08-30 Thread 周湘伦
Hi,all ​When the job execution failed,or pending,then i get cube information: ​... {"uuid":"523623e7-6233-4a91-af15-b8f846ae6063","name":"2017061000_2017061100","storage_location_identifier":"KYLIN_P1MD9NPHP3","date_range_start":149705280,"date_range_end":149713920,"source_offset_s