有一段代码,如:使用地图,减少订货清单
public class Idea
{
(...)
public IList<IdeaSupporter> Supporters { get; set; }
}
public class IdeaSupporter
{
(...)
public int Tokens { get; set; }
}
尝试订购的支持者令牌的想法。我知道我必须使用map-reduce,但我很新。任何人都知道如何使用map-reduce在这种情况下正确地看起来?
'Supporters.Sort()'有什么问题?你的名单中是否有数十万甚至数百万的支持者? – 2011-12-20 16:17:15
http://stackoverflow.com/questions/3624384/sorting-large-data-using-mapreduce-hadoop – 2011-12-20 16:55:57