public interface ApplicationYarnClient extends YarnClient
ApplicationYarnClient
is an extension of YarnClient
introducing more direct semantics of an application. Core yarn and generally
when something is executed on yarn, there are no hard dependencies of
existing application files.
This interface adds these semantics by using an ApplicationDescriptor
which an implementation can for example use to guard against various
application problems like not overwriting existing application instance or
trying to launch an application which doesn't exist.
Modifier and Type | Method and Description |
---|---|
void |
installApplication(ApplicationDescriptor descriptor)
Install application based on
ApplicationDescriptor . |
org.apache.hadoop.yarn.api.records.ApplicationId |
submitApplication(ApplicationDescriptor descriptor)
Submit application based on
ApplicationDescriptor . |
getApplicationReport, installApplication, killApplication, listApplications, listApplications, listRunningApplications, submitApplication, submitApplication
void installApplication(ApplicationDescriptor descriptor)
ApplicationDescriptor
.descriptor
- the application descriptororg.apache.hadoop.yarn.api.records.ApplicationId submitApplication(ApplicationDescriptor descriptor)
ApplicationDescriptor
.descriptor
- the application descriptor