You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ke...@apache.org on 2014/04/16 22:33:14 UTC
[1/2] git commit: aurora-0.5.0-dev1396558874 release.
Repository: incubator-aurora
Updated Branches:
refs/heads/kts/AURORA-325-hotfix [created] e86bf3ded
aurora-0.5.0-dev1396558874 release.
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/568ac59c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/568ac59c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/568ac59c
Branch: refs/heads/kts/AURORA-325-hotfix
Commit: 568ac59c78d16092916a987727478e1631e9a34b
Parents: 8262c8b
Author: Maxim Khutornenko <ma...@apache.org>
Authored: Thu Apr 3 14:01:14 2014 -0700
Committer: Maxim Khutornenko <ma...@apache.org>
Committed: Thu Apr 3 14:01:14 2014 -0700
----------------------------------------------------------------------
.auroraversion | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/568ac59c/.auroraversion
----------------------------------------------------------------------
diff --git a/.auroraversion b/.auroraversion
index f0334e9..7ccaf1a 100644
--- a/.auroraversion
+++ b/.auroraversion
@@ -1 +1 @@
-0.5.0-SNAPSHOT
+0.5.0-dev1396558874
[2/2] git commit: Shutdown cron asynchronously
Posted by ke...@apache.org.
Shutdown cron asynchronously
Testing Done:
./gradlew build
Bugs closed: AURORA-325
Reviewed at https://reviews.apache.org/r/20425/
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/e86bf3de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/e86bf3de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/e86bf3de
Branch: refs/heads/kts/AURORA-325-hotfix
Commit: e86bf3ded295c754147f7822e45d3f7dc4decaf8
Parents: 568ac59
Author: Kevin Sweeney <ke...@apache.org>
Authored: Wed Apr 16 13:19:15 2014 -0700
Committer: Kevin Sweeney <ke...@apache.org>
Committed: Wed Apr 16 13:30:02 2014 -0700
----------------------------------------------------------------------
.../java/org/apache/aurora/scheduler/state/CronJobManager.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/e86bf3de/src/main/java/org/apache/aurora/scheduler/state/CronJobManager.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/state/CronJobManager.java b/src/main/java/org/apache/aurora/scheduler/state/CronJobManager.java
index fa39e2b..4bd190c 100644
--- a/src/main/java/org/apache/aurora/scheduler/state/CronJobManager.java
+++ b/src/main/java/org/apache/aurora/scheduler/state/CronJobManager.java
@@ -172,7 +172,9 @@ public class CronJobManager implements EventSubscriber {
shutdownRegistry.addAction(new Command() {
@Override
public void execute() {
- cron.stopAsync().awaitTerminated();
+ // NOTE: We don't know ahead-of-time which thread will execute the shutdown command,
+ // so we shouldn't block here.
+ cron.stopAsync();
}
});