Demystifying MapReduce: Python MR Solution

By Ravi Karamsetty | July 16, 2014 |

The following Python code mapper.py will take the text file as input and tokenize it to create a set of <key, value> pairs. The key will be a number reflecting the no. of characters in each word, and the value will be the word itself.

Read More