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

Getting a coordinator job info with len=0 should return 0 actions

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: coordinator
    • Labels:
      None

      Description

      If you fetch a URL such as:

      http://localhost:11000/oozie/v1/job/0000002-130731172618471-oozie-oozi-C?len=1
      

      you'll get the job info for the coordinator job, and 1 of its actions.

      If you only want to get the info for the coordinator job itself and don't care about the actions, it seems logical that len=0 should do this; however, it seems to be ignored and gives you all actions instead.

      http://localhost:11000/oozie/v1/job/0000002-130731172618471-oozie-oozi-C?len=0
      

      should return 0 actions.

        Attachments

        1. OOZIE-1481-2.patch
          16 kB
          Rohini Palaniswamy
        2. OOZIE-1481-2.patch
          16 kB
          Rohini Palaniswamy
        3. OOZIE-1481-1.patch
          14 kB
          Rohini Palaniswamy

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              rohini Rohini Palaniswamy
              Reporter:
              rkanter Robert Kanter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment