hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erix Yao <yao.e...@gmail.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:16:25 GMT
Will the two packages be merged together?

It's really a little confusing.


2011/4/27 Wantao <liu_wantao@qq.com>

> "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
>



-- 
haitao.yao@Beijing

Mime
View raw message