[
https://issues.apache.org/jira/browse/OOZIE-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohini Palaniswamy updated OOZIE-1481:
--------------------------------------
Attachment: OOZIE-1481-2.patch
> Getting a coordinator job info with len=0 should return 0 actions
> -----------------------------------------------------------------
>
> Key: OOZIE-1481
> URL: https://issues.apache.org/jira/browse/OOZIE-1481
> Project: Oozie
> Issue Type: Bug
> Components: coordinator
> Reporter: Robert Kanter
> Assignee: Rohini Palaniswamy
> Attachments: OOZIE-1481-1.patch, OOZIE-1481-2.patch,
> OOZIE-1481-2.patch
>
>
> If you fetch a URL such as:
> {noformat}
> http://localhost:11000/oozie/v1/job/0000002-130731172618471-oozie-oozi-C?len=1
> {noformat}
> 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.
> {noformat}
> http://localhost:11000/oozie/v1/job/0000002-130731172618471-oozie-oozi-C?len=0
> {noformat}
> should return 0 actions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira