SLIDER-799: we'll need a feed on escalation
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/0dd979cc Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/0dd979cc Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/0dd979cc Branch: refs/heads/feature/SLIDER-799-AM-managed-relax Commit: 0dd979cc9f13e1e539fafe06cc695472a94b758f Parents: 7141d93 Author: Steve Loughran <ste...@apache.org> Authored: Thu Mar 5 17:35:36 2015 -0800 Committer: Steve Loughran <ste...@apache.org> Committed: Thu Mar 5 17:35:36 2015 -0800 ---------------------------------------------------------------------- .../slider/server/appmaster/state/OutstandingRequest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/0dd979cc/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java ---------------------------------------------------------------------- diff --git a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java index 3563a29..c6a9cff 100644 --- a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java +++ b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java @@ -56,11 +56,16 @@ public final class OutstandingRequest { public final String hostname; /** - * requested time -only valid after buildContainerRequest(Resource, long)} + * requested time -only valid after {@link #buildContainerRequest(Resource, RoleStatus, long, String)} */ public long requestedTime; /** + * Has the placement request been escalated by cancel and re-request + */ + public boolean escalated; + + /** * Create a request * @param roleId role * @param node node -can be null