Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.3.0
-
None
-
None
Description
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:
oozie jobs
oozie jobs -len 1000
oozie jobs -len 50
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.
However, the customer can workaround this issue to see the jobs from the Oozie CLI by specifying an offset:
oozie jobs -offset 21
oozie jobs -offset 41... etc.
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.