You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "abhishek bafna (JIRA)" <ji...@apache.org> on 2016/04/28 10:11:12 UTC
[jira] [Commented] (OOZIE-2478) Querying for jobs with len -1 no
longer executes an unbounded query
[ https://issues.apache.org/jira/browse/OOZIE-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261725#comment-15261725 ]
abhishek bafna commented on OOZIE-2478:
---------------------------------------
This is expected behavior. The current logic is, if the _len_ parameter is negative or zero then it will set it to default of 50. If you need to retrieve more number of records, pass a higher value in the _len_ parameter.
> Querying for jobs with len -1 no longer executes an unbounded query
> -------------------------------------------------------------------
>
> Key: OOZIE-2478
> URL: https://issues.apache.org/jira/browse/OOZIE-2478
> Project: Oozie
> Issue Type: Bug
> Affects Versions: 4.1.0
> Reporter: Jeffrey Olchovy
>
> When using both the CLI and the Java API, when supplying a value of -1 for `len`, the default number of results (50) is returned.
> Prior to our upgrade to CDH 5.5.1, passing in a value of -1 returned all jobs, which was the desirable behavior.
> Is there a new, different way of executing an unbounded query? If not, is this a bug or somehow configurable?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)