Module Values.HadoopJarStepConfigSource

A job flow 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.

Sourcetype nonrec t = {
  1. properties : KeyValueList.t option;
    (*

    A 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.

    *)
  2. jar : XmlString.t;
    (*

    A path to a JAR file run during the step.

    *)
  3. mainClass : XmlString.t option;
    (*

    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.

    *)
  4. args : XmlStringList.t option;
    (*

    A list of command line arguments passed to the JAR file's main function when executed.

    *)
}
Sourceval context_ : string
Sourceval make : ?properties:??? -> ?mainClass:??? -> ?args:??? -> jar:XmlString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of XmlString.t | `Structure of (string * [> `String of XmlString.t ]) list ] list | `String of XmlString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t