Will the two packages be merged together? It's really a little confusing.
2011/4/27 Wantao <[email protected]> > "org.apache.hadoop.mapred" is the package for old API and > "org.apache.hadoop.mapreduce" is the package for new API. Although the two > APIs have similar functionality, the implementation is different. Hadoop is > migrating from the old API to the new API. > > Wantao > > > ------------------ Original ------------------ > *From: * "吕鹏"<[email protected]>; > *Date: * Tue, Apr 26, 2011 08:17 PM > *To: * "mapreduce-user"<[email protected]>; > *Subject: * what is the difference between the two packages > "org.apache.hadoop.mapreduce"and "org.apache.hadoop.mapred"? > > 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 > -- haitao.yao@Beijing
