org.apache.flink.runtime.entrypoint.component.DefaultDispatcherResourceManagerComponentFactory Java Examples
The following examples show how to use
org.apache.flink.runtime.entrypoint.component.DefaultDispatcherResourceManagerComponentFactory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: StatefulFunctionsClusterEntryPoint.java From stateful-functions with Apache License 2.0 | 5 votes |
@Override protected DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) { return DefaultDispatcherResourceManagerComponentFactory.createJobComponentFactory( StandaloneResourceManagerFactory.INSTANCE, new StatefulFunctionsJobGraphRetriever(jobId, savepointRestoreSettings, programArguments)); }
Example #2
Source File: StatefulFunctionsClusterEntryPoint.java From flink-statefun with Apache License 2.0 | 5 votes |
@Override protected DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) { return DefaultDispatcherResourceManagerComponentFactory.createJobComponentFactory( StandaloneResourceManagerFactory.INSTANCE, new StatefulFunctionsJobGraphRetriever( jobId, savepointRestoreSettings, parallelism, programArguments)); }
Example #3
Source File: MesosSessionClusterEntrypoint.java From flink with Apache License 2.0 | 5 votes |
@Override protected DefaultDispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) { return DefaultDispatcherResourceManagerComponentFactory.createSessionComponentFactory( new MesosResourceManagerFactory( mesosServices, mesosConfig)); }
Example #4
Source File: MesosJobClusterEntrypoint.java From flink with Apache License 2.0 | 5 votes |
@Override protected DefaultDispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) throws IOException { return DefaultDispatcherResourceManagerComponentFactory.createJobComponentFactory( new MesosResourceManagerFactory( mesosServices, schedulerConfiguration), FileJobGraphRetriever.createFrom(configuration, ClusterEntrypointUtils.tryFindUserLibDirectory().orElse(null))); }
Example #5
Source File: YarnJobClusterEntrypoint.java From flink with Apache License 2.0 | 5 votes |
@Override protected DefaultDispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) throws IOException { return DefaultDispatcherResourceManagerComponentFactory.createJobComponentFactory( YarnResourceManagerFactory.getInstance(), FileJobGraphRetriever.createFrom( configuration, YarnEntrypointUtils.getUsrLibDir(configuration).orElse(null))); }
Example #6
Source File: ApplicationClusterEntryPoint.java From flink with Apache License 2.0 | 5 votes |
@Override protected DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(final Configuration configuration) { return new DefaultDispatcherResourceManagerComponentFactory( new DefaultDispatcherRunnerFactory( ApplicationDispatcherLeaderProcessFactoryFactory .create(configuration, SessionDispatcherFactory.INSTANCE, program)), resourceManagerFactory, JobRestEndpointFactory.INSTANCE); }
Example #7
Source File: KubernetesSessionClusterEntrypoint.java From flink with Apache License 2.0 | 4 votes |
@Override protected DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) { return DefaultDispatcherResourceManagerComponentFactory.createSessionComponentFactory( KubernetesResourceManagerFactory.getInstance()); }
Example #8
Source File: YarnSessionClusterEntrypoint.java From flink with Apache License 2.0 | 4 votes |
@Override protected DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) { return DefaultDispatcherResourceManagerComponentFactory.createSessionComponentFactory(YarnResourceManagerFactory.getInstance()); }
Example #9
Source File: MiniCluster.java From flink with Apache License 2.0 | 4 votes |
@Nonnull DispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory() { return DefaultDispatcherResourceManagerComponentFactory.createSessionComponentFactory(StandaloneResourceManagerFactory.getInstance()); }
Example #10
Source File: StandaloneSessionClusterEntrypoint.java From flink with Apache License 2.0 | 4 votes |
@Override protected DefaultDispatcherResourceManagerComponentFactory createDispatcherResourceManagerComponentFactory(Configuration configuration) { return DefaultDispatcherResourceManagerComponentFactory.createSessionComponentFactory(StandaloneResourceManagerFactory.getInstance()); }