This is opaque to python scripts. They just call something like context.write('string', 1) or if they have more complex keys, something like context.write(('graphicsvendor', 'driverversion'), 1). This is the key/value type for all of the map/combine/reduce/output jobs in hadoop.