You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by as...@apache.org on 2019/10/18 07:21:07 UTC

[oozie] branch master updated: OOZIE-3487 Confusing E0820 error message (matijhs via asalamon74)

This is an automated email from the ASF dual-hosted git repository.

asalamon74 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/oozie.git


The following commit(s) were added to refs/heads/master by this push:
     new 8002acf  OOZIE-3487 Confusing E0820 error message (matijhs via asalamon74)
8002acf is described below

commit 8002acf772c0a383025d4afb0f70acea2c0c424b
Author: Andras Salamon <as...@apache.org>
AuthorDate: Fri Oct 18 09:19:41 2019 +0200

    OOZIE-3487 Confusing E0820 error message (matijhs via asalamon74)
---
 .../main/java/org/apache/oozie/service/LiteWorkflowStoreService.java    | 2 +-
 release-log.txt                                                         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/oozie/service/LiteWorkflowStoreService.java b/core/src/main/java/org/apache/oozie/service/LiteWorkflowStoreService.java
index 97a75ff..235f634 100644
--- a/core/src/main/java/org/apache/oozie/service/LiteWorkflowStoreService.java
+++ b/core/src/main/java/org/apache/oozie/service/LiteWorkflowStoreService.java
@@ -165,8 +165,8 @@ public abstract class LiteWorkflowStoreService extends WorkflowStoreService {
             try {
                 ret = Integer.parseInt(userRetryMax);
                 if (ret > max) {
-                    ret = max;
                     log.warn(ErrorCode.E0820.getTemplate(), ret, max);
+                    ret = max;
                 }
             }
             catch (NumberFormatException nfe) {
diff --git a/release-log.txt b/release-log.txt
index 0f406ae..3c45408 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 5.2.0 release (trunk - unreleased)
 
+OOZIE-3487 Confusing E0820 error message (matijhs via asalamon74)
 OOZIE-3542 amend Handle better old Hdfs implementations in ECPolicyDisabler (zsombor via kmarton)
 OOZIE-3529 Oozie not supported for s3 as filesystem (dionusos via asalamon74)
 OOZIE-3465 Migrate from commons-codec (matijhs via asalamon74)