models.map_reduce_instance_run_info module

class models.map_reduce_instance_run_info.MapReduceInstance_RunInfo(end_time=None, error_message=None, execution_start_time_usecs=None, files_processed=None, map_done_time_usecs=None, map_input_bytes=None, mappers_spawned=None, num_map_outputs=None, num_reduce_outputs=None, percentage_completion=None, percentage_mapper_completion=None, percentage_reducer_completion=None, reducers_spawned=None, remaining_time_mins=None, start_time=None, status=None, total_num_mappers=None, total_num_reducers=None)[source]

Bases: object

Implementation of the ‘MapReduceInstance_RunInfo’ model.

Stores the progress of run of this instance.

Attributes:

end_time (long|int): Time when map redcue job completed. error_message (string): If this run failed, then error message for

failure.

execution_start_time_usecs (long|int): Time (in usecs) when job was

picked up for execution.

files_processed (long|int): Number of files processed in this run. map_done_time_usecs (long|int): Time (in usecs) when map tasks were

done.

map_input_bytes (long|int): Total size of data processed by this run

in bytes.

mappers_spawned (long|int):Number of mappers spawned till now. num_map_outputs (long|int): Number of outputs from mappers. num_reduce_outputs (long|int): Number of outputs from reducers. percentage_completion (float): Percentage completion of this run so

far.

percentage_mapper_completion (float): Percentage of mapper phase

completed.

percentage_reducer_completion (float): Percentage of reducer phase

completed.

reducers_spawned (int|long): Number of reducers spawned till now. remaining_time_mins (int|long): Expected remaining time in minutes

for completion of this run.

start_time (int|long): Time when map reduce job was started by user. status (int|long): Status of this run. total_num_mappers (int|long): Total number of mappers to be spawned. total_num_reducers (int|long): Specifies the View name where this

object is stored.

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.