Earning Points. Starwood's Preferred Guest program is fairly straightforward: the more nights you spend at participating hotels, the faster you'll earn a free night.
The mapper output (intermediate data) is stored on the Local file system (NOT HDFS) of each individual mapper nodes. This is typically a temporary directory location which can be setup in config by the hadoop administrator. The intermediate data is cleaned up after the Hadoop Job completes.
You need to create a class derived from MRjob and provide essential methods like mapper, combiner and reducer. Depending on what you want to do, you may need only a mapper or mapper and reducer or all of them. You should be able to successfully run the map-reduce using mrjob. Input to a mapper is a line and it's output is a (key, value) pair . In this case, it's output is (keyword, 1) pair.