|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationYarnClient
A 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.
Method Summary | |
---|---|
void |
installApplication(ApplicationDescriptor descriptor)
Install application based on ApplicationDescriptor . |
org.apache.hadoop.yarn.api.records.ApplicationId |
submitApplication(ApplicationDescriptor descriptor)
Submit application based on ApplicationDescriptor . |
Methods inherited from interface org.springframework.yarn.client.YarnClient |
---|
getApplicationReport, installApplication, killApplication, listApplications, listApplications, listRunningApplications, submitApplication, submitApplication |
Method Detail |
---|
void installApplication(ApplicationDescriptor descriptor)
ApplicationDescriptor
.
descriptor
- the application descriptororg.apache.hadoop.yarn.api.records.ApplicationId submitApplication(ApplicationDescriptor descriptor)
ApplicationDescriptor
.
descriptor
- the application descriptor
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |