You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by guoyun <mi...@gmail.com> on 2012/01/17 07:48:08 UTC
how can i get job's status by oozie?
Dear all:
i want to monitor erery job which commit by oozie-client,i want to know
their status,for example:RUNNING,SUCCES,FAILED...
any API can help me to do this?who can tell me.
Re: how can i get job's status by oozie?
Posted by guoyun <mi...@gmail.com>.
Thank you for your help.
I have seen the url,but i have a question:
this url will get all the job,does it can get job by a fiter?for
example:i only want to get the failed job or i want to get a job by ID?
and i use Java to finish,i must code to parse the json?
在 2012-01-16一的 23:28 -0800,Mohammad Islam写道:
> Adding to Kumar's comment.
> Please use the latest API version "v1" instead of "v0". Btw v0 should work as well.
>
> Some details could be found at :
> http://yahoo.github.com/oozie/releases/3.1.0/WebServicesAPI.html#Job_Information
>
>
>
> Regards,
> Mohammad
>
>
> ----- Original Message -----
> From: Kumar Kandasami <ku...@gmail.com>
> To: oozie-users@incubator.apache.org
> Cc:
> Sent: Monday, January 16, 2012 11:14 PM
> Subject: Re: how can i get job's status by oozie?
>
> http://archive.cloudera.com/cdh/3/oozie/WorkflowFunctionalSpec.html#a11.3.1_Job_Information
>
>
> Request:
>
> GET /oozie/v0/job/{jobid}?show=info
>
>
>
> Response:
>
> "status" attribute
>
>
>
> On Mon, Jan 16, 2012 at 10:48 PM, guoyun <mi...@gmail.com> wrote:
>
> > Dear all:
> > i want to monitor erery job which commit by oozie-client,i want to
> > know
> > their status,for example:RUNNING,SUCCES,FAILED...
> > any API can help me to do this?who can tell me.
> >
> >
> >
>
>
Re: how can i get job's status by oozie?
Posted by Mohammad Islam <mi...@yahoo.com>.
Adding to Kumar's comment.
Please use the latest API version "v1" instead of "v0". Btw v0 should work as well.
Some details could be found at :
http://yahoo.github.com/oozie/releases/3.1.0/WebServicesAPI.html#Job_Information
Regards,
Mohammad
----- Original Message -----
From: Kumar Kandasami <ku...@gmail.com>
To: oozie-users@incubator.apache.org
Cc:
Sent: Monday, January 16, 2012 11:14 PM
Subject: Re: how can i get job's status by oozie?
http://archive.cloudera.com/cdh/3/oozie/WorkflowFunctionalSpec.html#a11.3.1_Job_Information
Request:
GET /oozie/v0/job/{jobid}?show=info
Response:
"status" attribute
On Mon, Jan 16, 2012 at 10:48 PM, guoyun <mi...@gmail.com> wrote:
> Dear all:
> i want to monitor erery job which commit by oozie-client,i want to
> know
> their status,for example:RUNNING,SUCCES,FAILED...
> any API can help me to do this?who can tell me.
>
>
>
Re: how can i get job's status by oozie?
Posted by Kumar Kandasami <ku...@gmail.com>.
http://archive.cloudera.com/cdh/3/oozie/WorkflowFunctionalSpec.html#a11.3.1_Job_Information
Request:
GET /oozie/v0/job/{jobid}?show=info
Response:
"status" attribute
On Mon, Jan 16, 2012 at 10:48 PM, guoyun <mi...@gmail.com> wrote:
> Dear all:
> i want to monitor erery job which commit by oozie-client,i want to
> know
> their status,for example:RUNNING,SUCCES,FAILED...
> any API can help me to do this?who can tell me.
>
>
>