Map Reduce and Hadoop

Map then Reduce

count = function(x) {return x.length;};

add = function(x,y) {return x + y;};

l = ["The", "status", "is", "not", "quo"];

l.map(count).reduce(add);

José M. Vidal .

13 of 24