Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data HadoopStepConfig = HadoopStepConfig' {}
- newHadoopStepConfig :: HadoopStepConfig
- hadoopStepConfig_args :: Lens' HadoopStepConfig (Maybe [Text])
- hadoopStepConfig_jar :: Lens' HadoopStepConfig (Maybe Text)
- hadoopStepConfig_mainClass :: Lens' HadoopStepConfig (Maybe Text)
- hadoopStepConfig_properties :: Lens' HadoopStepConfig (Maybe (HashMap Text Text))
Documentation
data HadoopStepConfig Source #
A cluster step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
See: newHadoopStepConfig
smart constructor.
HadoopStepConfig' | |
|
Instances
newHadoopStepConfig :: HadoopStepConfig Source #
Create a value of HadoopStepConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:HadoopStepConfig'
, hadoopStepConfig_args
- The list of command line arguments to pass to the JAR file's main
function for execution.
$sel:jar:HadoopStepConfig'
, hadoopStepConfig_jar
- The path to the JAR file that runs during the step.
$sel:mainClass:HadoopStepConfig'
, hadoopStepConfig_mainClass
- The name of the main class in the specified Java file. If not specified,
the JAR file should specify a main class in its manifest file.
$sel:properties:HadoopStepConfig'
, hadoopStepConfig_properties
- The list of Java properties that are set when the step runs. You can use
these properties to pass key-value pairs to your main function.
hadoopStepConfig_args :: Lens' HadoopStepConfig (Maybe [Text]) Source #
The list of command line arguments to pass to the JAR file's main function for execution.
hadoopStepConfig_jar :: Lens' HadoopStepConfig (Maybe Text) Source #
The path to the JAR file that runs during the step.
hadoopStepConfig_mainClass :: Lens' HadoopStepConfig (Maybe Text) Source #
The name of the main class in the specified Java file. If not specified, the JAR file should specify a main class in its manifest file.
hadoopStepConfig_properties :: Lens' HadoopStepConfig (Maybe (HashMap Text Text)) Source #
The list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.