Home | About | Sematext search-lucene.com search-hadoop.com
 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?
Jane Wayne 2012-03-20, 06:47
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) ?