You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Wantao <li...@qq.com> on 2011/04/26 18:12:20 UTC

Re:what is the difference between the two packages "org.apache.hadoop.mapreduce"and "org.apache.hadoop.mapred"?

"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:  "吕鹏"<lv...@gmail.com>;
Date:  Tue, Apr 26, 2011 08:17 PM
To:  "mapreduce-user"<ma...@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

Re: what is the difference between the two packages "org.apache.hadoop.mapreduce"and "org.apache.hadoop.mapred"?

Posted by Erix Yao <ya...@gmail.com>.
Will the two packages be merged together?

It's really a little confusing.


2011/4/27 Wantao <li...@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: * "吕鹏"<lv...@gmail.com>;
> *Date: * Tue, Apr 26, 2011 08:17 PM
> *To: * "mapreduce-user"<ma...@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

Re: what is the difference between the two packages "org.apache.hadoop.mapreduce"and "org.apache.hadoop.mapred"?

Posted by Chris Douglas <cd...@apache.org>.
On Tue, Apr 26, 2011 at 10:56 AM, Marcos Ortiz <ml...@uci.cu> wrote:
> The MapReduce ´s next generation is been implemented on the new API?

It supports both APIs. The MapReduce runtime is effectively unchanged. -C

Re: what is the difference between the two packages "org.apache.hadoop.mapreduce"and "org.apache.hadoop.mapred"?

Posted by Marcos Ortiz <ml...@uci.cu>.
El 4/26/2011 12:12 PM, Wantao escribió:
> "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: * "吕鹏"<lv...@gmail.com>;
> *Date: * Tue, Apr 26, 2011 08:17 PM
> *To: * "mapreduce-user"<ma...@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
The MapReduce ´s next generation is been implemented on the new API?
Regards

-- 
Marcos Luís Ortíz Valmaseda
  Software Engineer (Large-Scaled Distributed Systems)
  University of Information Sciences,
  La Habana, Cuba
  Linux User # 418229
  http://about.me/marcosortiz