hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wantao" <liu_wan...@qq.com>
Subject Re:what is the difference between the two packages "org.apache.hadoop.mapreduce"and "org.apache.hadoop.mapred"?
Date Tue, 26 Apr 2011 16:12:20 GMT
"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:  "吕鹏"<lvpengdlut@gmail.com>;
Date:  Tue, Apr 26, 2011 08:17 PM
To:  "mapreduce-user"<mapreduce-user@hadoop.apache.org>; 

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
Mime
View raw message