Module Values.HadoopStepConfigSource

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.

Sourcetype nonrec t = {
  1. jar : String_.t option;
    (*

    The path to the JAR file that runs during the step.

    *)
  2. properties : StringMap.t option;
    (*

    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.

    *)
  3. mainClass : String_.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 : StringList.t option;
    (*

    The list of command line arguments to pass to the JAR file's main function for execution.

    *)
}
Sourceval make : ?jar:??? -> ?properties:??? -> ?mainClass:??? -> ?args:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String_.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