Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain 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) ?
+
Chris White 2012-03-20, 10:30
+
Jane Wayne 2012-03-20, 15:57