public class YarnApplicationStatusMonitor extends Object implements AutoCloseable
| Constructor and Description |
|---|
YarnApplicationStatusMonitor(org.apache.hadoop.yarn.client.api.YarnClient yarnClient,
org.apache.hadoop.yarn.api.records.ApplicationId yarnApplicationId,
org.apache.flink.runtime.concurrent.ScheduledExecutor scheduledExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.flink.runtime.clusterframework.ApplicationStatus |
getApplicationStatusNow() |
public YarnApplicationStatusMonitor(org.apache.hadoop.yarn.client.api.YarnClient yarnClient,
org.apache.hadoop.yarn.api.records.ApplicationId yarnApplicationId,
org.apache.flink.runtime.concurrent.ScheduledExecutor scheduledExecutor)
public org.apache.flink.runtime.clusterframework.ApplicationStatus getApplicationStatusNow()
public void close()
close in interface AutoCloseableCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.