Repository: incubator-slider Updated Branches: refs/heads/feature/SLIDER-285_Restart_AM 159fbe596 -> 49f633e31
SLIDER-302 rm StartContainerAction Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/323a80f8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/323a80f8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/323a80f8 Branch: refs/heads/feature/SLIDER-285_Restart_AM Commit: 323a80f8f92c9d3b2daba89189aa503b6ec20093 Parents: e464bba Author: Steve Loughran <ste...@apache.org> Authored: Sat Aug 9 12:37:33 2014 +0100 Committer: Steve Loughran <ste...@apache.org> Committed: Sat Aug 9 12:37:47 2014 +0100 ---------------------------------------------------------------------- .../appmaster/actions/StartContainerAction.java | 41 -------------------- 1 file changed, 41 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/323a80f8/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/StartContainerAction.java ---------------------------------------------------------------------- diff --git a/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/StartContainerAction.java b/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/StartContainerAction.java deleted file mode 100644 index 95ecbe8..0000000 --- a/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/StartContainerAction.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.slider.server.appmaster.actions; - -import org.apache.hadoop.yarn.api.records.Container; -import org.apache.hadoop.yarn.api.records.ContainerLaunchContext; -import org.apache.slider.server.appmaster.state.RoleInstance; - -/** - * Start a container - */ -public class StartContainerAction { - - private final Container container; - private final ContainerLaunchContext ctx; - private final RoleInstance instance; - - public StartContainerAction(Container container, - ContainerLaunchContext ctx, - RoleInstance instance) { - this.container = container; - this.ctx = ctx; - this.instance = instance; - } -}