| Package | Description |
|---|---|
| org.apache.slider.server.appmaster.state |
| Modifier and Type | Field and Description |
|---|---|
ContainerOutcome |
AppState.NodeCompletionResult.outcome |
| Modifier and Type | Method and Description |
|---|---|
static ContainerOutcome |
ContainerOutcome.fromExitStatus(int exitStatus)
Build a container outcome from an exit status.
|
static ContainerOutcome |
ContainerOutcome.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerOutcome[] |
ContainerOutcome.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NodeEntry.containerCompleted(boolean wasReleased,
ContainerOutcome outcome)
completion event, which can be a planned or unplanned
planned: dec our release count
unplanned: dec our live count
|
protected boolean |
RoleHistory.markContainerFinished(org.apache.hadoop.yarn.api.records.Container container,
boolean wasReleased,
boolean shortLived,
ContainerOutcome outcome)
Mark a container finished; if it was released then that is treated
differently.
|
void |
RoleStatus.noteFailed(boolean startupFailure,
String text,
ContainerOutcome outcome)
Note that a role failed, text will
be used in any diagnostics if an exception
is later raised.
|
boolean |
RoleHistory.onFailedContainer(org.apache.hadoop.yarn.api.records.Container container,
boolean shortLived,
ContainerOutcome outcome)
App state notified of a container completed -but as
it wasn't being released it is marked as failed
|
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.