Author: kamrul
Date: Thu Oct 6 20:28:32 2011
New Revision: 1179827
URL: http://svn.apache.org/viewvc?rev=1179827&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/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
incubator/oozie/trunk/release-log.txt
Modified:
incubator/oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
URL:
http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java?rev=1179827&r1=1179826&r2=1179827&view=diff
==============================================================================
---
incubator/oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
(original)
+++
incubator/oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
Thu Oct 6 20:28:32 2011
@@ -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/trunk/release-log.txt
URL:
http://svn.apache.org/viewvc/incubator/oozie/trunk/release-log.txt?rev=1179827&r1=1179826&r2=1179827&view=diff
==============================================================================
--- incubator/oozie/trunk/release-log.txt (original)
+++ incubator/oozie/trunk/release-log.txt Thu Oct 6 20:28:32 2011
@@ -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