Thank you so much :D On Sun, Mar 11, 2012 at 12:33 PM, Harsh J <ha...@cloudera.com> wrote:
> Hi, > > On Sun, Mar 11, 2012 at 10:57 PM, Weishung Chung <weish...@gmail.com> > wrote: > > Do you know which are the new methods in the new mapreduce package > should I > > use as the replacement for the following old API methods in JobConf ? > > The names have been simplified in the new API. > > > conf.setOutputKeyComparatorClass > > This, being the sorting comparator, is now Job.setSortComparator(…) @ > > http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/mapreduce/Job.html#setSortComparatorClass(java.lang.Class) > > > conf.setOutputValueGroupingComparator > > This, being the reducer-side grouping comparator, is now > Job.setGroupingComparator(…) @ > > http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/mapreduce/Job.html#setGroupingComparatorClass(java.lang.Class) > > -- > Harsh J >