[
https://issues.apache.org/jira/browse/OOZIE-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199216#comment-13199216
]
[email protected] commented on OOZIE-673:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3738/
-----------------------------------------------------------
(Updated 2012-02-02 20:59:14.944877)
Review request for oozie.
Changes
-------
Integrating Alejandro's comment about default value to be 1000.
Regarding that comment, the info api might break if the client has 10,000
actions. Now they will have to loop 10 times to get all actions. But that can
be addressed by overriding this value in oozie-site. I agree its better to have
a lower value to avoid high memory and n/w usage.
Summary
-------
https://issues.apache.org/jira/browse/OOZIE-673
This addresses bug oozie-673.
https://issues.apache.org/jira/browse/oozie-673
Diffs (updated)
-----
trunk/core/src/main/java/org/apache/oozie/CoordinatorActionBean.java 1239737
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordJobXCommand.java
1239737
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsSubsetJPAExecutor.java
1239737
trunk/core/src/main/java/org/apache/oozie/servlet/V1JobServlet.java 1239737
trunk/core/src/main/resources/oozie-default.xml 1239737
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsSubsetJPAExecutor.java
1239737
trunk/docs/src/site/twiki/DG_CommandLineTool.twiki 1239737
Diff: https://reviews.apache.org/r/3738/diff
Testing
-------
test for sorting added
tested after running cron example
Thanks,
Virag
> offset and len options not working as expected
> ----------------------------------------------
>
> Key: OOZIE-673
> URL: https://issues.apache.org/jira/browse/OOZIE-673
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
>
> oozie job -info 0022981-111110182218199-oozie-wrkf-C -offset 3
> ID Status Ext ID
> Err Code Created
> Nominal Time
> 0022981-111110182218199-oozie-wrkf-C@1 SUCCEEDED
> 0022982-111110182218199-oozie-wrkf-W - 2012-01-16 06:24
> 2010-01-01 00:00
> ------------------------------------------------------------------------------------------------------------------------------------
> 0022981-111110182218199-oozie-wrkf-C@4 SUCCEEDED
> 0022985-111110182218199-oozie-wrkf-W - 2012-01-16 06:24
> 2010-01-01 00:30
> ------------------------------------------------------------------------------------------------------------------------------------
> 0022981-111110182218199-oozie-wrkf-C@5 SUCCEEDED
> 0022986-111110182218199-oozie-wrkf-W - 2012-01-16 06:24
> 2010-01-01 00:40
> ------------------------------------------------------------------------------------------------------------------------------------
> The jira proposes to order actions by nominal time
> Also, the info command may timeout if the number of coordinator actions are
> very high. So, the default number of actions to retrieve while using the info
> should be oozie-site configurable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira