am_technix
am_technix

Reputation: 764

Mapreduce on Google App Engine

I'm very confused with the state and documentation of mapreduce support in GAE.

In the official doc https://developers.google.com/appengine/docs/python/dataprocessing/, there is an example, but :

So I found http://code.google.com/p/appengine-mapreduce/. The is a complete example with mapreduce.input_readers.DatastoreInputReader, but it is written that reduce phase isn't supported yet !

So I would like to know if it is possible to implement the first form of mapreduce, with the DatastoreInputReader, to execute a real map / reduce to get a GROUP BY equivalent ?

Upvotes: 2

Views: 701

Answers (1)

Daniel Roseman
Daniel Roseman

Reputation: 600041

The second example is from the earlier release, which did indeed just support the mapper phase. However, as the first example shows, the full map/reduce functionality is now supported and has been for some time. The mapreduce.yaml is from that earlier version, it is not used now.

I'm not sure what your actual question is. The value sent to the map function from DatastoreInputReader is, not surprisingly, the individual entity which is taken from the kind being mapped over.

Upvotes: 2

Related Questions