org.apache.hadoop.yarn.event.EventHandler<ApplicationEvent>, Applicationpublic class ApplicationImpl extends java.lang.Object implements Application
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ApplicationImpl.FlowContext |
Data object that encapsulates the flow context for the application purpose.
|
| Constructor | Description |
|---|---|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context,
long recoveredLogInitedTime) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.api.records.ApplicationId |
getAppId() |
|
ApplicationState |
getApplicationState() |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
getContainers() |
|
java.lang.String |
getFlowName() |
|
long |
getFlowRunId() |
|
java.lang.String |
getFlowVersion() |
|
org.apache.hadoop.yarn.api.records.LogAggregationContext |
getLogAggregationContext() |
|
java.lang.String |
getUser() |
|
void |
handle(ApplicationEvent event) |
|
void |
setFlowContext(ApplicationImpl.FlowContext fc) |
|
java.lang.String |
toString() |
public ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context)
public ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context,
long recoveredLogInitedTime)
public ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context)
public java.lang.String getUser()
getUser in interface Applicationpublic org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
getAppId in interface Applicationpublic ApplicationState getApplicationState()
getApplicationState in interface Applicationpublic java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()
getContainers in interface Applicationpublic void handle(ApplicationEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<ApplicationEvent>public java.lang.String toString()
toString in class java.lang.Object@VisibleForTesting public org.apache.hadoop.yarn.api.records.LogAggregationContext getLogAggregationContext()
public java.lang.String getFlowName()
getFlowName in interface Applicationpublic java.lang.String getFlowVersion()
getFlowVersion in interface Applicationpublic long getFlowRunId()
getFlowRunId in interface Applicationpublic void setFlowContext(ApplicationImpl.FlowContext fc)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.