[
https://issues.apache.org/jira/browse/OOZIE-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mona Chitnis updated OOZIE-1746:
--------------------------------
Description:
The coordinator action's 'external id' only points to the latest workflow
launched, in the case of rerun. We lose context of the previous workflows
corresponding to this action and no easy API to retrieve them. This JIRA adds
this API functionality for Web-service, web-console and CLI
Usage:
1) With coord job ID and query params passing the action and show flag
Web Service API:
http://my-oozie-url:4080/oozie/v2/job/COORD-JOB-ID?type=action&scope=<action
num>&show=allruns
OR (directly with show flag)
http://my-oozie-url:4080/oozie/v2/job/COORD-ACTION-ID?show=allruns
2) CLI: $> oozie job -info COORD-ACTION-ID -allruns
3) Web-console: New tab 'Coord Action Reruns' alongside Coord Job Info, Coord
Definition etc.., to input the action num in text box and press button to get
list of workflows
was:
The coordinator action's 'external id' only points to the latest workflow
launched, in the case of rerun. We lose context of the previous workflows
corresponding to this action and no easy API to retrieve them. This JIRA adds
this API functionality for Web-service, web-console and CLI
Usage:
Web Service API:
http://my-oozie-url:4080/oozie/v2/job/COORD-ID?getreruns=<action num>
CLI: $> oozie job -info COORD-ID -getreruns <action-num>
Web-console: New tab 'Coord Action Reruns' alongside Coord Job Info, Coord
Definition etc.., to input the action num in text box and press button to get
list of workflows
> New API to fetch workflows corresponding to coordinator action reruns
> ---------------------------------------------------------------------
>
> Key: OOZIE-1746
> URL: https://issues.apache.org/jira/browse/OOZIE-1746
> Project: Oozie
> Issue Type: New Feature
> Affects Versions: trunk
> Reporter: Mona Chitnis
> Assignee: Mona Chitnis
> Fix For: trunk
>
> Attachments: OOZIE-1746-0.patch, OOZIE-1746-1.patch,
> OOZIE-1746-2.patch, OOZIE-1746-3.patch, OOZIE-1746-4.patch
>
>
> The coordinator action's 'external id' only points to the latest workflow
> launched, in the case of rerun. We lose context of the previous workflows
> corresponding to this action and no easy API to retrieve them. This JIRA adds
> this API functionality for Web-service, web-console and CLI
> Usage:
> 1) With coord job ID and query params passing the action and show flag
> Web Service API:
> http://my-oozie-url:4080/oozie/v2/job/COORD-JOB-ID?type=action&scope=<action
> num>&show=allruns
> OR (directly with show flag)
> http://my-oozie-url:4080/oozie/v2/job/COORD-ACTION-ID?show=allruns
> 2) CLI: $> oozie job -info COORD-ACTION-ID -allruns
> 3) Web-console: New tab 'Coord Action Reruns' alongside Coord Job Info, Coord
> Definition etc.., to input the action num in text box and press button to get
> list of workflows
--
This message was sent by Atlassian JIRA
(v6.2#6252)