Package org.apache.flink.yarn.executors
Class YarnSessionClusterExecutorFactory
- java.lang.Object
-
- org.apache.flink.yarn.executors.YarnSessionClusterExecutorFactory
-
- All Implemented Interfaces:
PipelineExecutorFactory
@Internal public class YarnSessionClusterExecutorFactory extends Object implements PipelineExecutorFactory
AnPipelineExecutorFactory
for executing jobs on an existing (session) cluster.
-
-
Constructor Summary
Constructors Constructor Description YarnSessionClusterExecutorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineExecutor
getExecutor(Configuration configuration)
Instantiates anPipelineExecutor
compatible with the provided configuration.String
getName()
Returns the name of the executor that this factory creates.boolean
isCompatibleWith(Configuration configuration)
Returnstrue
if this factory is compatible with the options in the provided configuration,false
otherwise.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:PipelineExecutorFactory
Returns the name of the executor that this factory creates.- Specified by:
getName
in interfacePipelineExecutorFactory
-
isCompatibleWith
public boolean isCompatibleWith(@Nonnull Configuration configuration)
Description copied from interface:PipelineExecutorFactory
Returnstrue
if this factory is compatible with the options in the provided configuration,false
otherwise.- Specified by:
isCompatibleWith
in interfacePipelineExecutorFactory
-
getExecutor
public PipelineExecutor getExecutor(@Nonnull Configuration configuration)
Description copied from interface:PipelineExecutorFactory
Instantiates anPipelineExecutor
compatible with the provided configuration.- Specified by:
getExecutor
in interfacePipelineExecutorFactory
- Returns:
- the executor instance.
-
-