|
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 |
installApplication()
Installs the application known to YarnClient instance into hdfs. |
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. |
java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> |
listApplications(java.lang.String type)
Gets a list of known applications filtered by an application type. |
java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> |
listRunningApplications(java.lang.String type)
Gets a list of running applications filtered by an application type. |
org.apache.hadoop.yarn.api.records.ApplicationId |
submitApplication()
Submits the application known to YarnClient instance. |
org.apache.hadoop.yarn.api.records.ApplicationId |
submitApplication(boolean distribute)
Submits the application known to YarnClient instance. |
Method Detail |
---|
org.apache.hadoop.yarn.api.records.ApplicationId submitApplication()
YarnClient
instance.
ApplicationId
for submitted applicationorg.apache.hadoop.yarn.api.records.ApplicationId submitApplication(boolean distribute)
YarnClient
instance.
distribute
- if set to true files will also be copied
ApplicationId
for submitted applicationvoid installApplication()
YarnClient
instance into hdfs.
java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> listApplications()
ApplicationReport
sjava.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> listApplications(java.lang.String type)
type
- the yarn application type
ApplicationReport
sjava.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> listRunningApplications(java.lang.String type)
type
- the yarn application type
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 |