hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marek Miglinski <mmiglin...@seven.com>
Subject Sort databag
Date Tue, 17 Jan 2012 16:27:46 GMT
Hi,

I receive a DataBag in my custom UDF and want to sort it by first field in Tuples it stores.
The way I implemented is: I create List of Tuples and add all Tuples from DataBag to List
and then use custom Collections.sort But that way I loose a lot of resources and memory does
anybody knows a different way?


Thanks,
Marek M.

Mime
View raw message