开发者

MultipleOutputFormat support for with 'Job'

开发者 https://www.devze.com 2023-02-18 05:20 出处:网络
I am trying to use MultipleOutputFormat with hadoop 0.20.1 and it seems they only work with deprecated \'JobConf\' which in turn uses deprecated Mapper and Reducer (org.apache.hadoop.mapred.Reducer) e

I am trying to use MultipleOutputFormat with hadoop 0.20.1 and it seems they only work with deprecated 'JobConf' which in turn uses deprecated Mapper and Reducer (org.apache.hadoop.mapred.Reducer) etc., . Any ideas how to to acheive multiple 开发者_运维技巧output functionality (or at least naming reducer output functionality) with new 'org.apache.hadoop.mapreduce.Job' ?


I guess you have to rewrite your own, or get it from the actual branch of 0.22.0. I'm not really sure if there is a "new api"- MultipleOutputFormat in 0.21.0 but you could have a look and maybe you're lucky ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消