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
Avro >> mail # user >> Secondary sort in hadoop with avro


Copy link to this message
-
Secondary sort in hadoop with avro
I need to implement secondary sort within an avro based MR sequence. I however find little to documentation or examples online.
I would like to implement this by overriding the  'int compare(AvroWrapper<T> x, AvroWrapper<T> y)' method but I fail to have it invoked.
Does anybody have experience implementing secondary sort on deserialised avro objects ?

Some help, advise or pointers will be very much appreciated !
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