YARN-2148. TestNMClient failed due more exit code values added and passed to AM (Wangda Tan via bikas)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1602043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8bfbec8cfb
commit
2584d531e1
|
@ -233,6 +233,9 @@ Release 2.5.0 - UNRELEASED
|
|||
YARN-2124. Fixed NPE in ProportionalCapacityPreemptionPolicy. (Wangda Tan
|
||||
via jianhe)
|
||||
|
||||
YARN-2148. TestNMClient failed due more exit code values added and passed
|
||||
to AM (Wangda Tan via bikas)
|
||||
|
||||
Release 2.4.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -43,6 +43,7 @@ import org.apache.hadoop.yarn.api.records.ApplicationId;
|
|||
import org.apache.hadoop.yarn.api.records.ApplicationReport;
|
||||
import org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext;
|
||||
import org.apache.hadoop.yarn.api.records.Container;
|
||||
import org.apache.hadoop.yarn.api.records.ContainerExitStatus;
|
||||
import org.apache.hadoop.yarn.api.records.ContainerLaunchContext;
|
||||
import org.apache.hadoop.yarn.api.records.ContainerState;
|
||||
import org.apache.hadoop.yarn.api.records.ContainerStatus;
|
||||
|
@ -346,7 +347,7 @@ public class TestNMClient {
|
|||
// 137 is possible if the container is not terminated but killed
|
||||
testGetContainerStatus(container, i, ContainerState.COMPLETE,
|
||||
"Container killed by the ApplicationMaster.", Arrays.asList(
|
||||
new Integer[] {137, 143, 0}));
|
||||
new Integer[] {ContainerExitStatus.KILLED_BY_APPMASTER}));
|
||||
} catch (YarnException e) {
|
||||
// The exception is possible because, after the container is stopped,
|
||||
// it may be removed from NM's context.
|
||||
|
|
Loading…
Reference in New Issue