public class ApplicationImpl extends Object implements Application
Constructor and Description |
---|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
String user,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.ApplicationId |
getAppId() |
ApplicationState |
getApplicationState() |
Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
getContainers() |
org.apache.hadoop.yarn.api.records.LogAggregationContext |
getLogAggregationContext() |
String |
getUser() |
void |
handle(ApplicationEvent event) |
String |
toString() |
public String getUser()
getUser
in interface Application
public org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
getAppId
in interface Application
public ApplicationState getApplicationState()
getApplicationState
in interface Application
public Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()
getContainers
in interface Application
public void handle(ApplicationEvent event)
handle
in interface org.apache.hadoop.yarn.event.EventHandler<ApplicationEvent>
public org.apache.hadoop.yarn.api.records.LogAggregationContext getLogAggregationContext()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.