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 >> is implementing WritableComparable and setting Job.setSortComparatorClass(...) redundant?


Copy link to this message
-
is implementing WritableComparable and setting Job.setSortComparatorClass(...) redundant?
quick question:

i have a key that already implements WritableComparable. this will be the
intermediary key passed from the map to the reducer.

is it necessary to extend RawComparator and set it on
Job.setSortComparatorClass(Class<? extends RawComparator> cls) ?
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