[ https://issues.apache.org/jira/browse/OOZIE-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728475#comment-13728475 ]
Ryota Egashira commented on OOZIE-1481: --------------------------------------- +1 I built with this patch, ran example on local oozie, confirmed the api(something like below) return 0 actions http://localhost:11000/oozie/v2/job/0000000-130802182732341-oozie-egas-C?len=0&offset=0 > 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 > > > 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