You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by rk...@apache.org on 2016/08/02 20:33:00 UTC
oozie git commit: OOZIE-2349 Method getCoordJobInfo(String jobId,
String filter, int offset, int length,
boolean desc) is not present in LocalOozieClientCoord (nperiwal via rkanter)
Repository: oozie
Updated Branches:
refs/heads/master 2b8842a04 -> 29f69b108
OOZIE-2349 Method getCoordJobInfo(String jobId, String filter, int offset, int length, boolean desc) is not present in LocalOozieClientCoord (nperiwal via rkanter)
Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/29f69b10
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/29f69b10
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/29f69b10
Branch: refs/heads/master
Commit: 29f69b108b3ae81db7a77276530c4867f189c36b
Parents: 2b8842a
Author: Robert Kanter <rk...@cloudera.com>
Authored: Tue Aug 2 13:32:48 2016 -0700
Committer: Robert Kanter <rk...@cloudera.com>
Committed: Tue Aug 2 13:32:48 2016 -0700
----------------------------------------------------------------------
.../org/apache/oozie/LocalOozieClientCoord.java | 25 ++++++++++++++++++++
release-log.txt | 1 +
2 files changed, 26 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/oozie/blob/29f69b10/core/src/main/java/org/apache/oozie/LocalOozieClientCoord.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/oozie/LocalOozieClientCoord.java b/core/src/main/java/org/apache/oozie/LocalOozieClientCoord.java
index cf60c37..32b0cd0 100644
--- a/core/src/main/java/org/apache/oozie/LocalOozieClientCoord.java
+++ b/core/src/main/java/org/apache/oozie/LocalOozieClientCoord.java
@@ -396,6 +396,31 @@ public class LocalOozieClientCoord extends OozieClient {
}
/**
+ * Get the info of a coordinator job.
+ *
+ * @param jobId job Id.
+ * @param filter filter the status filter
+ * @param start starting index in the list of actions belonging to the job
+ * @param len number of actions to be returned
+ * @return the job info.
+ * @throws org.apache.oozie.client.OozieClientException thrown if the job
+ * info could not be retrieved.
+ */
+ @Override
+ public CoordinatorJob getCoordJobInfo(String jobId, String filter, int start, int len)
+ throws OozieClientException {
+ try {
+ return coordEngine.getCoordJob(jobId, filter, start, len, false);
+ }
+ catch (CoordinatorEngineException ex) {
+ throw new OozieClientException(ex.getErrorCode().toString(), ex);
+ }
+ catch (BaseEngineException bex) {
+ throw new OozieClientException(bex.getErrorCode().toString(), bex);
+ }
+ }
+
+ /**
* Get the info of a coordinator action.
*
* @param actionId Id.
http://git-wip-us.apache.org/repos/asf/oozie/blob/29f69b10/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index e6776a0..48bc14c 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
-- Oozie 4.3.0 release (trunk - unreleased)
+OOZIE-2349 Method getCoordJobInfo(String jobId, String filter, int offset, int length, boolean desc) is not present in LocalOozieClientCoord (nperiwal via rkanter)
OOZIE-2172 ZooKeeper Security Tests failed with JVM IBM JAVA (GauravPande via rkanter)
OOZIE-2555 Oozie SSL enable setup does not return port for admin -servers (abhishekbafna via rkanter)
OOZIE-2440 Exponential re-try policy for workflow action (satishsaley via jaydeepvishwakarma)