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, 周湘伦 <jayzho...@gmail.com> wrote:

> 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 <shaofeng...@apache.org>:
>
> > 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 there is no success build, so it is
> null.
> >
> > If you're using Chrome browser, press F12 or right click "Inspect", in
> the
> > "Network" tab, you will see how Kylin's frontend call Kylin REST server,
> > that is the easist way to learn the REST API.
> >
> >
> > 2017-08-30 18:36 GMT+08:00 周湘伦 <jayzho...@gmail.com>:
> >
> > > Hi,all
> > >
> > > ​When the job execution failed,or pending,then i get cube information:
> > > ​...
> > > {"uuid":"523623e7-6233-4a91-af15-b8f846ae6063","name":"
> > > 20170610000000_20170611000000","storage_location_identifier"
> > > :"KYLIN_P1MD9NPHP3","date_range_start":1497052800000,"
> > > date_range_end":1497139200000,"source_offset_start":0,"
> > > source_offset_end":0,"status":"NEW","size_kb":0,"input_
> > > records":0,"input_records_size":0,"last_build_time":0,"
> > > last_build_job_id":null,"creat
> > > e_time_utc":1504077397616,"cuboid_shard_nums":{},"total_
> > > shards":1,"blackout_cuboids":[],"binary_signature":null,"
> > > dictionaries":{"TBL
> > > ...
> > >
> > > The 'last_build_job_id' is null.
> > > I want resume the job  with restful API,so which field should I get?
> > >
> > > Best regards.
> > >
> > >
> >
> >
> > --
> > Best regards,
> >
> > Shaofeng Shi 史少锋
> >
>

Reply via email to