Repository: oozie
Updated Branches:
  refs/heads/branch-4.1 9164c0163 -> 6d1b9c367


OOZIE-1997 Oozie cannot materialize coordinator job with sqlserver in windows 
(bzhang)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/6d1b9c36
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/6d1b9c36
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/6d1b9c36

Branch: refs/heads/branch-4.1
Commit: 6d1b9c367b7b0af59f6b9f7c3649b8463f9e6076
Parents: 9164c01
Author: Bowen Zhang <[email protected]>
Authored: Wed Sep 10 13:34:34 2014 -0700
Committer: Bowen Zhang <[email protected]>
Committed: Wed Sep 10 13:35:24 2014 -0700

----------------------------------------------------------------------
 core/src/main/java/org/apache/oozie/CoordinatorJobBean.java | 2 +-
 release-log.txt                                             | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/6d1b9c36/core/src/main/java/org/apache/oozie/CoordinatorJobBean.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/oozie/CoordinatorJobBean.java 
b/core/src/main/java/org/apache/oozie/CoordinatorJobBean.java
index 8fd53f1..54e1bc8 100644
--- a/core/src/main/java/org/apache/oozie/CoordinatorJobBean.java
+++ b/core/src/main/java/org/apache/oozie/CoordinatorJobBean.java
@@ -106,7 +106,7 @@ import org.json.simple.JSONObject;
         //TODO need to remove.
         @NamedQuery(name = "GET_COORD_JOBS_OLDER_THAN", query = "select 
OBJECT(w) from CoordinatorJobBean w where w.startTimestamp <= :matTime AND 
(w.statusStr = 'PREP' OR w.statusStr = 'RUNNING' or w.statusStr = 
'RUNNINGWITHERROR') AND (w.nextMaterializedTimestamp < :matTime OR 
w.nextMaterializedTimestamp IS NULL) AND (w.nextMaterializedTimestamp IS NULL 
OR (w.endTimestamp > w.nextMaterializedTimestamp AND (w.pauseTimestamp IS NULL 
OR w.pauseTimestamp > w.nextMaterializedTimestamp))) order by 
w.lastModifiedTimestamp"),
 
-        @NamedQuery(name = "GET_COORD_JOBS_OLDER_FOR_MATERILZATION", query = 
"select w.id from CoordinatorJobBean w where w.startTimestamp <= :matTime AND 
(w.statusStr = 'PREP' OR w.statusStr = 'RUNNING' or w.statusStr = 
'RUNNINGWITHERROR') AND (w.nextMaterializedTimestamp < :matTime OR 
w.nextMaterializedTimestamp IS NULL) AND (w.nextMaterializedTimestamp IS NULL 
OR (w.endTimestamp > w.nextMaterializedTimestamp AND (w.pauseTimestamp IS NULL 
OR w.pauseTimestamp > w.nextMaterializedTimestamp))) and w.matThrottling > ( 
select count(w.id) from CoordinatorActionBean a where a.jobId = w.id and 
a.statusStr = 'WAITING') order by w.lastModifiedTimestamp"),
+        @NamedQuery(name = "GET_COORD_JOBS_OLDER_FOR_MATERILZATION", query = 
"select w.id from CoordinatorJobBean w where w.startTimestamp <= :matTime AND 
(w.statusStr = 'PREP' OR w.statusStr = 'RUNNING' or w.statusStr = 
'RUNNINGWITHERROR') AND (w.nextMaterializedTimestamp < :matTime OR 
w.nextMaterializedTimestamp IS NULL) AND (w.nextMaterializedTimestamp IS NULL 
OR (w.endTimestamp > w.nextMaterializedTimestamp AND (w.pauseTimestamp IS NULL 
OR w.pauseTimestamp > w.nextMaterializedTimestamp))) and w.matThrottling > ( 
select count(a.jobId) from CoordinatorActionBean a where a.jobId = w.id and 
a.statusStr = 'WAITING') order by w.lastModifiedTimestamp"),
 
         @NamedQuery(name = "GET_COORD_JOBS_OLDER_THAN_STATUS", query = "select 
OBJECT(w) from CoordinatorJobBean w where w.statusStr = :status AND 
w.lastModifiedTimestamp <= :lastModTime order by w.lastModifiedTimestamp"),
 

http://git-wip-us.apache.org/repos/asf/oozie/blob/6d1b9c36/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index a8d5da2..c21e522 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.1.0 release (4.1 - unreleased)
 
+OOZIE-1997 Oozie cannot materialize coordinator job with sqlserver in windows 
(bzhang)
 OOZIE-1957 Coord update command override group when 
oozie.service.AuthorizationService.default.group.as.acl is set and group/acl is 
not configured in job property (puru)
 OOZIE-1989 NPE during a rerun with forks (rkanter)
 OOZIE-1923 ZKLocksService locks are not re-entrant like MemoryLocks (puru)

Reply via email to