aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject git commit: Added THROTTLED state to scheduler UI.
Date Tue, 04 Feb 2014 19:31:57 GMT
Updated Branches:
  refs/heads/master a6131c925 -> ae022164d


Added THROTTLED state to scheduler UI.

Testing Done:
gradle clean build
gradle run

Bugs closed: AURORA-150

Reviewed at https://reviews.apache.org/r/17715/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/ae022164
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/ae022164
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/ae022164

Branch: refs/heads/master
Commit: ae022164dbfddbc11dc281d18d62393d44fa2407
Parents: a6131c9
Author: Suman Karumuri <mansu@apache.org>
Authored: Tue Feb 4 11:30:23 2014 -0800
Committer: Suman Karumuri <skarumuri@twitter.com>
Committed: Tue Feb 4 11:30:23 2014 -0800

----------------------------------------------------------------------
 src/main/java/org/apache/aurora/scheduler/http/SchedulerzRole.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/ae022164/src/main/java/org/apache/aurora/scheduler/http/SchedulerzRole.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/http/SchedulerzRole.java b/src/main/java/org/apache/aurora/scheduler/http/SchedulerzRole.java
index b0caca7..4cfe6fe 100644
--- a/src/main/java/org/apache/aurora/scheduler/http/SchedulerzRole.java
+++ b/src/main/java/org/apache/aurora/scheduler/http/SchedulerzRole.java
@@ -257,6 +257,7 @@ public class SchedulerzRole extends JerseyTemplateServlet {
             for (IScheduledTask task : tasks) {
               switch (task.getStatus()) {
                 case INIT:
+                case THROTTLED:
                 case PENDING:
                   job.pendingTaskCount++;
                   break;


Mime
View raw message