public class RunningApplication extends LaunchedApplication
applicationId, yarnClient| Constructor and Description |
|---|
RunningApplication(SliderYarnClientImpl yarnClient,
org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport) |
| Modifier and Type | Method and Description |
|---|---|
SliderClusterProtocol |
connect(org.apache.hadoop.yarn.api.records.ApplicationReport app)
Connect to a Slider AM
|
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplicationReport()
Get the application report of this application
|
forceKill, getApplicationId, kill, monitorAppToStatepublic RunningApplication(SliderYarnClientImpl yarnClient, org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
public org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport()
LaunchedApplicationgetApplicationReport in class LaunchedApplicationpublic SliderClusterProtocol connect(org.apache.hadoop.yarn.api.records.ApplicationReport app) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
app - application report providing the details on the applicationorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.