hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: setOutputKeyComparatorClass in Job
Date Sun, 11 Mar 2012 17:33:54 GMT

On Sun, Mar 11, 2012 at 10:57 PM, Weishung Chung <weishung@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(…) @

>  conf.setOutputValueGroupingComparator

This, being the reducer-side grouping comparator, is now
Job.setGroupingComparator(…) @

Harsh J

View raw message