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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • coordinator
    • 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-1.patch
          14 kB
          Rohini Palaniswamy
        2. OOZIE-1481-2.patch
          16 kB
          Rohini Palaniswamy
        3. OOZIE-1481-2.patch
          16 kB
          Rohini Palaniswamy

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rohini Rohini Palaniswamy
            rkanter Robert Kanter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment