Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> what is the difference between the two packages "org.apache.hadoop.mapreduce" and "org.apache.hadoop.mapred"?


Copy link to this message
-
Re: what is the difference between the two packages "org.apache.hadoop.mapreduce" and "org.apache.hadoop.mapred"?
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB