|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.client.AbstractYarnClient org.springframework.yarn.client.CommandYarnClient org.springframework.yarn.client.DefaultApplicationYarnClient
public class DefaultApplicationYarnClient
An implementation of ApplicationYarnClient
verifying application
install and submit statuses.
Constructor Summary | |
---|---|
DefaultApplicationYarnClient(ClientRmOperations clientRmOperations)
Instantiates a new default application yarn client. |
Method Summary | |
---|---|
void |
installApplication(ApplicationDescriptor descriptor)
Install application based on ApplicationDescriptor . |
protected void |
postInstallVerify(ApplicationDescriptor descriptor)
Post install verify. |
protected void |
postSubmitVerify(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
ApplicationDescriptor descriptor)
Post submit verify. |
protected void |
preInstallVerify(ApplicationDescriptor descriptor)
Pre install verify. |
protected void |
preSubmitVerify(ApplicationDescriptor descriptor)
Pre submit verify. |
org.apache.hadoop.yarn.api.records.ApplicationId |
submitApplication(ApplicationDescriptor descriptor)
Submit application based on ApplicationDescriptor . |
Methods inherited from class org.springframework.yarn.client.CommandYarnClient |
---|
getEnvironment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.yarn.client.YarnClient |
---|
getApplicationReport, installApplication, killApplication, listApplications, listApplications, listRunningApplications, submitApplication, submitApplication |
Constructor Detail |
---|
public DefaultApplicationYarnClient(ClientRmOperations clientRmOperations)
clientRmOperations
- the client rm operationsMethod Detail |
---|
public void installApplication(ApplicationDescriptor descriptor)
ApplicationYarnClient
ApplicationDescriptor
.
installApplication
in interface ApplicationYarnClient
descriptor
- the application descriptorpublic org.apache.hadoop.yarn.api.records.ApplicationId submitApplication(ApplicationDescriptor descriptor)
ApplicationYarnClient
ApplicationDescriptor
.
submitApplication
in interface ApplicationYarnClient
descriptor
- the application descriptor
protected void preInstallVerify(ApplicationDescriptor descriptor)
descriptor
- the application descriptorprotected void postInstallVerify(ApplicationDescriptor descriptor)
descriptor
- the application descriptorprotected void preSubmitVerify(ApplicationDescriptor descriptor)
descriptor
- the application descriptorprotected void postSubmitVerify(org.apache.hadoop.yarn.api.records.ApplicationId applicationId, ApplicationDescriptor descriptor)
applicationId
- the application iddescriptor
- the application descriptor
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |