You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by ry...@apache.org on 2014/05/14 21:01:23 UTC

git commit: OOZIE-1809 offset and len options are ignored in oozie job -info for workflow (ryota)

Repository: oozie
Updated Branches:
  refs/heads/master b45a314b2 -> 7f5398830


OOZIE-1809 offset and len options are ignored in oozie job -info for workflow (ryota)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/7f539883
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/7f539883
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/7f539883

Branch: refs/heads/master
Commit: 7f5398830038ef88080f9d89ed59bb02e8adb4b1
Parents: b45a314
Author: egashira <ry...@yahoo.com>
Authored: Wed May 14 12:01:58 2014 -0700
Committer: egashira <ry...@yahoo.com>
Committed: Wed May 14 12:01:58 2014 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/oozie/command/wf/JobXCommand.java | 6 ++++--
 release-log.txt                                                | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/7f539883/core/src/main/java/org/apache/oozie/command/wf/JobXCommand.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/oozie/command/wf/JobXCommand.java b/core/src/main/java/org/apache/oozie/command/wf/JobXCommand.java
index cafeaeb..1d7ca82 100644
--- a/core/src/main/java/org/apache/oozie/command/wf/JobXCommand.java
+++ b/core/src/main/java/org/apache/oozie/command/wf/JobXCommand.java
@@ -32,8 +32,8 @@ import org.apache.oozie.util.ParamChecker;
  */
 public class JobXCommand extends WorkflowXCommand<WorkflowJobBean> {
     private final String id;
-    private final int start = 1;
-    private final int len = Integer.MAX_VALUE;
+    private int start = 1;
+    private int len = Integer.MAX_VALUE;
     private WorkflowJobBean workflow;
 
     public JobXCommand(String id) {
@@ -49,6 +49,8 @@ public class JobXCommand extends WorkflowXCommand<WorkflowJobBean> {
     public JobXCommand(String id, int start, int length) {
         super("job.info", "job.info", 1, true);
         this.id = ParamChecker.notEmpty(id, "id");
+        this.start = start;
+        this.len = length;
     }
 
     /* (non-Javadoc)

http://git-wip-us.apache.org/repos/asf/oozie/blob/7f539883/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 9223025..f558f59 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.1.0 release (trunk - unreleased)
 
+OOZIE-1809 offset and len options are ignored in oozie job -info for workflow (ryota)
 OOZIE-1826 Add thread which detects JVM pauses (rkanter)
 OOZIE-1791 add IGNORED status to Coordinator Job and Action (ryota)
 OOZIE-1825 Optimize wf_jobs protoconf storage (puru via rohini)