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
Hadoop >> mail # user >> setGroupingComparatorClass


Copy link to this message
-
setGroupingComparatorClass
Hi, Hadoop experts,

I've written my custom GroupComparator, and I want to tell Hadoop about it.

Now, there is a call

job.setGroupingComparatorClass(),

but I only find it in mapreduce package of version 0.21. In prior versions,
I see a similar call

conf.setOutputValueGroupingComparator(GroupComparator.class);

but it does not cause my GroupComparator to be being used.

So my question is, should I change the code to use the mapreduce package
(not a problem, since Cloudera has it backported to the current
distribution), or is there a different, simpler way?

Thank you. Sincerely,
Mark
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