#NEWLINE# def create_mapreduce_state( self , output_params = None ) : #NEWLINE# #INDENT# 'Create a model.MapreduceState including MapreduceSpec and MapperSpec.\n\n    Args:\n      output_params: parameters for the output writer.\n\n    Returns:\n      a model.MapreduceSpec with default settings and specified output_params.\n    ' #NEWLINE# mapreduce_spec = model . MapreduceSpec ( 'DummyMapReduceJobName' , 'DummyMapReduceJobId' , self . create_mapper_spec ( output_params = output_params ) . to_json ( ) ) #NEWLINE# mapreduce_state = model . MapreduceState . create_new ( 'DummyMapReduceJobId' ) #NEWLINE# mapreduce_state . mapreduce_spec = mapreduce_spec #NEWLINE# mapreduce_state . put ( ) #NEWLINE# return mapreduce_spec