Class YarnApplicationStatusMonitor

java.lang.Object
org.apache.flink.yarn.cli.YarnApplicationStatusMonitor
All Implemented Interfaces:
AutoCloseable

public class YarnApplicationStatusMonitor extends Object implements AutoCloseable
Utility class which monitors the specified yarn application status periodically.
  • Constructor Details

    • YarnApplicationStatusMonitor

      public YarnApplicationStatusMonitor(org.apache.hadoop.yarn.client.api.YarnClient yarnClient, org.apache.hadoop.yarn.api.records.ApplicationId yarnApplicationId, org.apache.flink.util.concurrent.ScheduledExecutor scheduledExecutor)
  • Method Details

    • getApplicationStatusNow

      public org.apache.flink.runtime.clusterframework.ApplicationStatus getApplicationStatusNow()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable