I am executing the Map reduce program in python on local system and getting the below error:
Password:Traceback (most recent call last):
File "./wordcount_mapper.py", line 7, in <module>
filename = os.environ["mapreduce_map_input_file"]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'mapreduce_map_input_file'