hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From welman Lu <welmanwe...@gmail.com>
Subject Re: Does it possible that output value type of Map function different from final type?
Date Sun, 21 Mar 2010 17:10:18 GMT
Hi, all

I solved it!
By through set:

        conf.setMapOutputKeyClass(Text.class);
        conf.setMapOutputValueClass(BytesWritable.class);
        conf.setOutputKeyClass(Text.class);
        conf.setOutputValueClass(Text.class);

So stupid I am! I need to read more documents first!

Best Regards
Jiamin Lu

Mime
View raw message