You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Akshay Rai <ak...@gmail.com> on 2015/07/29 13:49:28 UTC
Using Web Services Api to access Action configuration Info
Hi,
I am trying to use the Oozie Web Services API to fetch job information.
*API doc: *
https://oozie.apache.org/docs/4.2.0/WebServicesAPI.html#Job_Information
I am wondering if it is possible to get the 'Action Configuration'
information for a particular action of a flow. I couldn't find it anywhere
in the docs.
Expecting something like:
GET /oozie/v2/job/job-id@action-name?show=actionconfiguration
Thanks
Akshay
Re: Using Web Services Api to access Action configuration Info
Posted by Akshay Rai <ak...@gmail.com>.
Hi Mona,
Thank you so much for your reply.
Yes, I am able to get the entire job definition using the API call as
mentioned by you. But I am more keen on getting the specific action conf as
exposed in the web console.
I guess there is no current support to get the specific action
configuration using the WS API.
Akshay
On Wed, Jul 29, 2015 at 10:53 PM, Mona Chitnis <
chitnis@yahoo-inc.com.invalid> wrote:
> Hi Akshay,
> The following returns a JSON that has a nested 'configuration' element for
> each action.
> https://oozie.apache.org/docs/4.2.0/WebServicesAPI.html#Job_Information
> e.g. GET /oozie/v2/job/job-3?show=info
> I don't recall if we've exposed the WS API to get only the specified
> action's conf.
> Mona
>
>
>
> On Wednesday, July 29, 2015 4:50 AM, Akshay Rai <ak...@gmail.com>
> wrote:
>
>
> Hi,
>
> I am trying to use the Oozie Web Services API to fetch job information.
>
> *API doc: *
> https://oozie.apache.org/docs/4.2.0/WebServicesAPI.html#Job_Information
>
> I am wondering if it is possible to get the 'Action Configuration'
> information for a particular action of a flow. I couldn't find it anywhere
> in the docs.
>
> Expecting something like:
>
> GET /oozie/v2/job/job-id@action-name?show=actionconfiguration
>
>
> Thanks
> Akshay
>
>
>
>
Re: Using Web Services Api to access Action configuration Info
Posted by Mona Chitnis <ch...@yahoo-inc.com.INVALID>.
Hi Akshay,
The following returns a JSON that has a nested 'configuration' element for each action.
https://oozie.apache.org/docs/4.2.0/WebServicesAPI.html#Job_Information
e.g. GET /oozie/v2/job/job-3?show=info
I don't recall if we've exposed the WS API to get only the specified action's conf.
Mona
On Wednesday, July 29, 2015 4:50 AM, Akshay Rai <ak...@gmail.com> wrote:
Hi,
I am trying to use the Oozie Web Services API to fetch job information.
*API doc: *
https://oozie.apache.org/docs/4.2.0/WebServicesAPI.html#Job_Information
I am wondering if it is possible to get the 'Action Configuration'
information for a particular action of a flow. I couldn't find it anywhere
in the docs.
Expecting something like:
GET /oozie/v2/job/job-id@action-name?show=actionconfiguration
Thanks
Akshay