Author: tucu
Date: Fri Nov 30 00:44:19 2012
New Revision: 1415467
URL: http://svn.apache.org/viewvc?rev=1415467&view=rev
Log:
OOZIE-1106 latest and future function do not work correctly when oozie
processing timezone is non UTC (rohini via tucu)
Modified:
oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
oozie/trunk/release-log.txt
Modified:
oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
URL:
http://svn.apache.org/viewvc/oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java?rev=1415467&r1=1415466&r2=1415467&view=diff
==============================================================================
--- oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
(original)
+++ oozie/trunk/core/src/main/java/org/apache/oozie/coord/CoordELFunctions.java
Fri Nov 30 00:44:19 2012
@@ -917,6 +917,7 @@ public class CoordELFunctions {
* @return a new Evaluator to be used for URI-template evaluation
*/
private static ELEvaluator getUriEvaluator(Calendar tm) {
+ tm.setTimeZone(DateUtils.getOozieProcessingTimeZone());
ELEvaluator retEval = new ELEvaluator();
retEval.setVariable("YEAR", tm.get(Calendar.YEAR));
retEval.setVariable("MONTH", (tm.get(Calendar.MONTH) + 1) < 10 ? "0" +
(tm.get(Calendar.MONTH) + 1) : (tm
Modified: oozie/trunk/release-log.txt
URL:
http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1415467&r1=1415466&r2=1415467&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Fri Nov 30 00:44:19 2012
@@ -1,5 +1,6 @@
-- Oozie 3.4.0 release (trunk - unreleased)
+OOZIE-1106 latest and future function do not work correctly when oozie
processing timezone is non UTC (rohini via tucu)
OOZIE-1102 Update Oozie README.txt to have the TLP mailing list and links
(jaoki via rkanter)
OOZIE-1096 Update wfgen README.txt to have the TLP mailing list (jun aoki via
rkanter)
OOZIE-1015 HadoopAccessorService jobtracker validation should not have
hardcoded conf key (mona)