hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Lewi <jer...@lewi.us>
Subject Re: what is the difference between the two packages "org.apache.hadoop.mapreduce" and "org.apache.hadoop.mapred"?
Date Tue, 26 Apr 2011 12:43:15 GMT
org.apache.hadoop.mapreduce is a newer api. To avoid breaking backwards
compatibility the older api, org.apache.hadoop.mapred was preserved, and
the newer api was just given a new name.

Check out
http://www.slideshare.net/sh1mmer/upgrading-to-the-new-map-reduce-api

J

On Tue, 2011-04-26 at 20:17 +0800, 吕鹏 wrote:
> hi
>     when i read the source of mapred, i find there're a lot of classes
> with the same names between "org.apache.hadoop.mapreduce" and
> "org.apache.hadoop.mapred", such
> as "org.apache.hadoop.mapreduce.Counters" and
> "org.apache.hadoop.mapred.Counters", why does this happen? why not
> define only one Counters instead? what is the difference between the
> two packages "org.apache.hadoop.mapreduce" and
> "org.apache.hadoop.mapred"?
> 
> 
>     thx
> 
> 
> 
> 
> Lv Peng


Mime
View raw message