public final class YarnUtilities extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REEF_YARN_APPLICATION_ID_ENV_VAR |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAppAttemptId() |
static org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAppAttemptId(String containerIdString) |
static org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId() |
static String |
getContainerIdString() |
public static final String REEF_YARN_APPLICATION_ID_ENV_VAR
public static String getContainerIdString()
public static org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
public static org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAppAttemptId()
public static org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAppAttemptId(String containerIdString)
containerIdString
- the Container ID of the running Container.Copyright © 2017 The Apache Software Foundation. All rights reserved.