models.run_map_reduce_params module

class models.run_map_reduce_params.RunMapReduceParams(app_id=None, input_params=None, mr_input=None, mr_output=None)[source]

Bases: object

Implementation of the ‘RunMapReduceParams’ model.

RunMapReduceParams specifies the input params to run a map reduce

instance.

Attributes:
app_id (int):ApplicationId is the Id of the map reduce application to

run.

input_params (list of MapReduceInstanceInputParam): InputParams

specifies optional list of key=value input params specified for running the map reduce instance.

mr_input (InputSpec):InputSpecification specifies the input

information to run the specific map reduce instance.

mr_output (OutputSpec): OutputSpecification specifies the output

information to run the specific map reduce instance.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.