context.write(字段1, value); context.write(字段2, value); 这样输出就是以字段1为key的数据 字段2为key的数据 即在一个mapper里面输出两条数据。