|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface YarnClient
Interface for Spring Yarn facing client methods.
Method Summary | |
---|---|
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Gets a report of the application. |
void |
killApplication(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Requests a resource manager to kill the application. |
java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> |
listApplications()
Gets a list of known applications. |
org.apache.hadoop.yarn.api.records.ApplicationId |
submitApplication()
Submits the application known to YarnClient instance. |
Method Detail |
---|
org.apache.hadoop.yarn.api.records.ApplicationId submitApplication()
YarnClient
instance.
ApplicationId
for submitted applicationjava.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> listApplications()
ApplicationReport
svoid killApplication(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
applicationId
- the ApplicationId
org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
applicationId
- the application id
ApplicationReport
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |