Class MiniClusterPipelineExecutorServiceLoader

java.lang.Object
org.apache.flink.test.util.MiniClusterPipelineExecutorServiceLoader
All Implemented Interfaces:
org.apache.flink.core.execution.PipelineExecutorServiceLoader

public class MiniClusterPipelineExecutorServiceLoader extends Object implements org.apache.flink.core.execution.PipelineExecutorServiceLoader
A PipelineExecutorServiceLoader that is hardwired to return PipelineExecutors that use a given MiniCluster.
  • Field Details

  • Constructor Details

    • MiniClusterPipelineExecutorServiceLoader

      public MiniClusterPipelineExecutorServiceLoader(org.apache.flink.runtime.minicluster.MiniCluster miniCluster)
  • Method Details

    • updateConfigurationForMiniCluster

      public static org.apache.flink.configuration.Configuration updateConfigurationForMiniCluster(org.apache.flink.configuration.Configuration config, Collection<org.apache.flink.core.fs.Path> jarFiles, Collection<URL> classPaths)
      Populates a Configuration that is compatible with this MiniClusterPipelineExecutorServiceLoader.
    • getExecutorFactory

      public org.apache.flink.core.execution.PipelineExecutorFactory getExecutorFactory(org.apache.flink.configuration.Configuration configuration)
      Specified by:
      getExecutorFactory in interface org.apache.flink.core.execution.PipelineExecutorServiceLoader
    • getExecutorNames

      public Stream<String> getExecutorNames()
      Specified by:
      getExecutorNames in interface org.apache.flink.core.execution.PipelineExecutorServiceLoader