@Internal public class YarnJobClusterExecutorFactory extends Object implements PipelineExecutorFactory
PipelineExecutorFactory
for executing jobs on dedicated (per-job) clusters.Constructor and Description |
---|
YarnJobClusterExecutorFactory() |
Modifier and Type | Method and Description |
---|---|
PipelineExecutor |
getExecutor(Configuration configuration)
Instantiates an
PipelineExecutor compatible with the provided configuration. |
String |
getName()
Returns the name of the executor that this factory creates.
|
boolean |
isCompatibleWith(Configuration configuration)
Returns
true if this factory is compatible with the options in the provided
configuration, false otherwise. |
public String getName()
PipelineExecutorFactory
getName
in interface PipelineExecutorFactory
public boolean isCompatibleWith(@Nonnull Configuration configuration)
PipelineExecutorFactory
true
if this factory is compatible with the options in the provided
configuration, false
otherwise.isCompatibleWith
in interface PipelineExecutorFactory
public PipelineExecutor getExecutor(@Nonnull Configuration configuration)
PipelineExecutorFactory
PipelineExecutor
compatible with the provided configuration.getExecutor
in interface PipelineExecutorFactory
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.