Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1746

New API to fetch workflows corresponding to coordinator action reruns

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      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

        Attachments

        1. OOZIE-1746-4.patch
          30 kB
          Mona Chitnis
        2. OOZIE-1746-3.patch
          32 kB
          Mona Chitnis
        3. OOZIE-1746-2.patch
          26 kB
          Mona Chitnis
        4. OOZIE-1746-1.patch
          24 kB
          Mona Chitnis
        5. OOZIE-1746-0.patch
          19 kB
          Mona Chitnis

          Issue Links

            Activity

              People

              • Assignee:
                chitnis Mona Chitnis
                Reporter:
                chitnis Mona Chitnis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: