[ 
https://issues.apache.org/jira/browse/OOZIE-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748866#comment-16748866
 ] 

Andras Salamon commented on OOZIE-3425:
---------------------------------------

Can you check the latest release? 5.1.0 looks good to me.

> Len property not honored when using JPA
> ---------------------------------------
>
>                 Key: OOZIE-3425
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3425
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.3.0
>            Reporter: Zach York
>            Priority: Minor
>
> When using the oozie cli, the '-len' parameter is ignored when using JPA. 20 
> entries are always returned. It is possible to see more than the first 20 
> jobs returned using the '-offset' parameter:
> {color:#000000}oozie jobs {color}
> {color:#000000}oozie jobs -len 1000 {color}
> {color:#000000}oozie jobs -len 50 {color}
> {color:#000000}all return the same 20 jobs. However, it will limit the jobs 
> if -len is less than 20. It appears some sort of pagination is happening 
> without respecting len. {color}
> {color:#000000}However, the customer can workaround this issue to see the 
> jobs from the Oozie CLI by specifying an offset: {color}
> {color:#000000}oozie jobs -offset 21 {color}
> {color:#000000}oozie jobs -offset 41... etc.{color}
>  
> It looks like there is some hardcoded '20' values in the code: 
> [https://github.com/apache/oozie/blob/master/core/src/main/java/org/apache/oozie/executor/jpa/BulkJPAExecutor.java#L259]
>  which might affect this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to