Hadoop: Using python to write a Mapper and Reducer

hadoop jar hadoop-streaming-2.7.1.jar -file ../../../example/python/Mapper.py -mapper ../../../example/python/Mapper.py -file ../../../example/python/Reducer.py -reducer ../../../example/python/Reducer.py -input /user/yuliang/data/ -output /user/yuliang/data-out

发布者

690130229

coder,喜欢安静,喜欢读书,wechat: leslie-liya

发表评论