|
|||||||||
| 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 | |
|---|---|
ApplicationReport |
getApplicationReport(ApplicationId applicationId)
Gets a report of the application. |
void |
installApplication()
Installs the application known to YarnClient instance into hdfs. |
void |
killApplication(ApplicationId applicationId)
Requests a resource manager to kill the application. |
List<ApplicationReport> |
listApplications()
Gets a list of known applications. |
List<ApplicationReport> |
listApplications(String type)
Gets a list of known applications filtered by an application type. |
List<ApplicationReport> |
listRunningApplications(String type)
Gets a list of running applications filtered by an application type. |
ApplicationId |
submitApplication()
Submits the application known to YarnClient instance. |
ApplicationId |
submitApplication(boolean distribute)
Submits the application known to YarnClient instance. |
| Method Detail |
|---|
ApplicationId submitApplication()
YarnClient instance.
ApplicationId for submitted applicationApplicationId submitApplication(boolean distribute)
YarnClient instance.
distribute - if set to true files will also be copied
ApplicationId for submitted applicationvoid installApplication()
YarnClient instance into hdfs.
List<ApplicationReport> listApplications()
ApplicationReportsList<ApplicationReport> listApplications(String type)
type - the yarn application type
ApplicationReportsList<ApplicationReport> listRunningApplications(String type)
type - the yarn application type
ApplicationReportsvoid killApplication(ApplicationId applicationId)
applicationId - the ApplicationIdApplicationReport getApplicationReport(ApplicationId applicationId)
applicationId - the application id
ApplicationReport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||