Modifier and Type | Field and Description |
---|---|
static String |
MIN_VERSION_KEEP_CONTAINERS_AVAILABLE |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
getContainerLaunchContext(List<String> commands,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
byte[] securityTokenBuffer) |
static org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
getContainerLaunchContext(List<String> commands,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
byte[] securityTokenBuffer,
org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Gets a LaunchContext and sets the environment variable
YarnUtilities.REEF_YARN_APPLICATION_ID_ENV_VAR for REEF Evaluators. |
static boolean |
isAtOrAfterVersion(String version) |
public static final String MIN_VERSION_KEEP_CONTAINERS_AVAILABLE
public static org.apache.hadoop.yarn.api.records.ContainerLaunchContext getContainerLaunchContext(List<String> commands, Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources, byte[] securityTokenBuffer)
public static org.apache.hadoop.yarn.api.records.ContainerLaunchContext getContainerLaunchContext(List<String> commands, Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources, byte[] securityTokenBuffer, org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
YarnUtilities.REEF_YARN_APPLICATION_ID_ENV_VAR
for REEF Evaluators.public static boolean isAtOrAfterVersion(String version)
Copyright © 2016 The Apache Software Foundation. All rights reserved.