Repository: oozie Updated Branches: refs/heads/master 787f1fef7 -> b03cde24d
OOZIE-2924 ./bin/mkdistro.sh reports a number instances of no @throws for Exception (Artem Ervits via gezapeti) Project: http://git-wip-us.apache.org/repos/asf/oozie/repo Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/b03cde24 Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/b03cde24 Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/b03cde24 Branch: refs/heads/master Commit: b03cde24d42e11bdf389346b21d8df1e6695aed6 Parents: 787f1fe Author: Gezapeti Cseh <[email protected]> Authored: Fri Jun 16 12:31:51 2017 +0200 Committer: Gezapeti Cseh <[email protected]> Committed: Fri Jun 16 12:32:46 2017 +0200 ---------------------------------------------------------------------- client/src/main/java/org/apache/oozie/client/OozieClient.java | 2 ++ .../src/main/java/org/apache/oozie/client/XOozieClient.java | 5 +++++ .../org/apache/oozie/action/hadoop/JavaActionExecutor.java | 7 +++++++ release-log.txt | 1 + 4 files changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oozie/blob/b03cde24/client/src/main/java/org/apache/oozie/client/OozieClient.java ---------------------------------------------------------------------- diff --git a/client/src/main/java/org/apache/oozie/client/OozieClient.java b/client/src/main/java/org/apache/oozie/client/OozieClient.java index dbb7cbd..f9063de 100644 --- a/client/src/main/java/org/apache/oozie/client/OozieClient.java +++ b/client/src/main/java/org/apache/oozie/client/OozieClient.java @@ -850,6 +850,8 @@ public class OozieClient { * dryrun for a given job * * @param conf Job configuration. + * @return new job. + * @throws org.apache.oozie.client.OozieClientException thrown if the job could not be submitted. */ public String dryrun(Properties conf) throws OozieClientException { return new JobSubmit(conf, RestConstants.JOB_ACTION_DRYRUN).call(); http://git-wip-us.apache.org/repos/asf/oozie/blob/b03cde24/client/src/main/java/org/apache/oozie/client/XOozieClient.java ---------------------------------------------------------------------- diff --git a/client/src/main/java/org/apache/oozie/client/XOozieClient.java b/client/src/main/java/org/apache/oozie/client/XOozieClient.java index 379819b..799208a 100644 --- a/client/src/main/java/org/apache/oozie/client/XOozieClient.java +++ b/client/src/main/java/org/apache/oozie/client/XOozieClient.java @@ -157,6 +157,7 @@ public class XOozieClient extends OozieClient { * @param pigScriptFile pig script file. * @param pigArgs pig arguments string. * @return the job Id. + * @throws java.io.IOException thrown if there is a problem with pig script file. * @throws OozieClientException thrown if the job could not be submitted. */ @Deprecated @@ -170,7 +171,9 @@ public class XOozieClient extends OozieClient { * @param conf job configuration. * @param scriptFile script file. * @param args arguments string. + * @param jobType job type. * @return the job Id. + * @throws java.io.IOException thrown if there is a problem with script file. * @throws OozieClientException thrown if the job could not be submitted. */ public String submitScriptLanguage(Properties conf, String scriptFile, String[] args, String jobType) @@ -185,7 +188,9 @@ public class XOozieClient extends OozieClient { * @param scriptFile script file. * @param args arguments string. * @param params parameters string. + * @param jobType job type. * @return the job Id. + * @throws java.io.IOException thrown if there is a problem with file. * @throws OozieClientException thrown if the job could not be submitted. */ public String submitScriptLanguage(Properties conf, String scriptFile, String[] args, String[] params, String jobType) http://git-wip-us.apache.org/repos/asf/oozie/blob/b03cde24/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java b/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java index 2c8d52a..bf02397 100644 --- a/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java +++ b/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java @@ -1488,6 +1488,10 @@ public class JavaActionExecutor extends ActionExecutor { * @param actionFs the FileSystem object * @param action the Workflow action * @param context executor context + * @throws org.apache.oozie.service.HadoopAccessorException + * @throws org.jdom.JDOMException + * @throws java.io.IOException + * @throws java.net.URISyntaxException * */ protected void getActionData(FileSystem actionFs, WorkflowAction action, Context context) @@ -1625,6 +1629,9 @@ public class JavaActionExecutor extends ActionExecutor { * * @param context executor context * @param actionFs the FileSystem object + * @throws java.io.IOException + * @throws org.apache.oozie.service.HadoopAccessorException + * @throws java.net.URISyntaxException */ protected void setActionCompletionData(Context context, FileSystem actionFs) throws IOException, HadoopAccessorException, URISyntaxException { http://git-wip-us.apache.org/repos/asf/oozie/blob/b03cde24/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index b50ad50..4528ce7 100644 --- a/release-log.txt +++ b/release-log.txt @@ -1,5 +1,6 @@ -- Oozie 5.0.0 release (trunk - unreleased) +OOZIE-2924 ./bin/mkdistro.sh reports a number instances of no @throws for Exception (Artem Ervits via gezapeti) OOZIE-2928 Unit Tests using LocalOozie fail randomly (Denes Bodo via pbacsko) OOZIE-2944 Shell action example does not work with Oozie on Yarn on hadoop 2.6 (asasvari via gezapeti) OOZIE-2933 Switch from Findbugs to Spotbugs (Jan Hentschel via gezapeti)
