hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adeel Qureshi <adeelmahm...@gmail.com>
Subject WritableComparable.compareTo vs RawComparator.compareTo
Date Fri, 30 Aug 2013 17:46:52 GMT
For secondary sort I am implementing a RawComparator and providing that as
sortComparator .. is that the faster way or using a WritableComparable as
mapper output and defining a compareTo method on the key itself

also what happens if both are defined, is one ignored

View raw message