Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.9.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      http://localhost:11000/oozie/docs/WebServicesAPI.html#Job_Information

      Retrieve a subset of actions

      Query parameters, offset and length can be specified with a workflow job to retrieve specific actions. Default is offset=0, len=1000

      GET /oozie/v1/job/0000002-130507145349661-oozie-joe-W?show=info&offset=5&len=10

      Query parameters, offset , length , filter can be specified with a coordinator job to retrieve specific actions. Query parameter, order with value "desc" can be used to retrieve the latest coordinator actions materialized instead of actions from @1. Query parameters filter can be used to retrieve coodinator actions matching specific status. Default is offset=0, len=0 for v2/job (i.e., does not return any coordinator actions) and offset=0, len=1000 with v1/job and v0/job. So if you need actions to be returned with v2 API, specifying len parameter is necessary. Default order is "asc".

      GET /oozie/v1/job/0000001-111219170928042-oozie-joe-C?show=info&offset=5&len=10&filter=status%3DKILLED&order=desc

      Note that the filter is URL encoded, its decoded value is status=KILLED .

      GET /oozie/v1/job/0000001-111219170928042-oozie-joe-C?show=info&filter=status%21%3DSUCCEEDED&order=desc

      This retrives coordinator actions except for SUCCEEDED status, which is useful for debugging.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krish Sai K Chirravuri
                Reporter:
                romain Romain Rigaux
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: