You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by an...@apache.org on 2012/01/06 22:57:43 UTC

svn commit: r1228437 - in /incubator/oozie/branches/3.1: core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java release-log.txt

Author: angeloh
Date: Fri Jan  6 21:57:43 2012
New Revision: 1228437

URL: http://svn.apache.org/viewvc?rev=1228437&view=rev
Log:
OOZIE-573 error message about misconfig in starting time of coordinator and initial-instance of dataset.(Params via Mohammad)

Modified:
    incubator/oozie/branches/3.1/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
    incubator/oozie/branches/3.1/release-log.txt

Modified: incubator/oozie/branches/3.1/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
URL: http://svn.apache.org/viewvc/incubator/oozie/branches/3.1/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java?rev=1228437&r1=1228436&r2=1228437&view=diff
==============================================================================
--- incubator/oozie/branches/3.1/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java (original)
+++ incubator/oozie/branches/3.1/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java Fri Jan  6 21:57:43 2012
@@ -717,6 +717,8 @@ public class CoordELFunctions {
         nominalInstanceCal.add(dsTimeUnit.getCalendarUnit(), datasetFrequency * absInstanceCount);
 
         if (nominalInstanceCal.getTime().compareTo(getInitialInstance()) < 0) {
+            XLog.getLog(CoordELFunctions.class)
+                    .warn("If the initial instance of the dataset is greater than the current-instance specified eg: coord:current(-4), an empty string is returned. This means that no data is available at the current-instance specified by the user and the user could try modifying his initial-instance to an earlier time.");
             return "";
         }
         String str = DateUtils.formatDateUTC(nominalInstanceCal);

Modified: incubator/oozie/branches/3.1/release-log.txt
URL: http://svn.apache.org/viewvc/incubator/oozie/branches/3.1/release-log.txt?rev=1228437&r1=1228436&r2=1228437&view=diff
==============================================================================
--- incubator/oozie/branches/3.1/release-log.txt (original)
+++ incubator/oozie/branches/3.1/release-log.txt Fri Jan  6 21:57:43 2012
@@ -1,4 +1,5 @@
 -- Oozie 3.1.1 release
+OOZIE-573 error message about misconfig in starting time of coordinator and initial-instance of dataset
 OOZIE-571 Oozie validate command doesnt work for schema 0.2
 OOZIE-570 Oozie bundle is running but not materializing new actions
 OOZIE-25 Removing confusing exception trace during wf suspend/kill/resume