Interface ClusterControllable

    • Method Detail

      • triggerJobManagerFailover

        void triggerJobManagerFailover​(org.apache.flink.core.execution.JobClient jobClient,
                                       Runnable afterFailAction)
                                throws Exception
        Triggers a JobManager failover.
        Parameters:
        jobClient - client of the running job
        afterFailAction - action to take before restarting the JobManager
        Throws:
        Exception
      • triggerTaskManagerFailover

        void triggerTaskManagerFailover​(org.apache.flink.core.execution.JobClient jobClient,
                                        Runnable afterFailAction)
                                 throws Exception
        Triggers TaskManager failover.
        Parameters:
        jobClient - client of the running job
        afterFailAction - action to take before restarting TaskManager(s)
        Throws:
        Exception
      • isolateNetwork

        void isolateNetwork​(org.apache.flink.core.execution.JobClient jobClient,
                            Runnable afterFailAction)
                     throws Exception
        Disconnect network between Flink cluster and external system.
        Parameters:
        jobClient - client of the running job
        afterFailAction - action to take before recovering the network connection
        Throws:
        Exception