setup

cleanup

map

run

 

setup 在所有map方法运行之前执行

cleanup 在所有map方法运行之后执行

run 方法包括了 setup    cleanup   map 这三个方法

run 是框架调用,   自定义的MyMapper类 在mapreduce环境会根据 MyMapperl.cass 反射产生

MyMapper实例来调用run方法