【发布时间】:2015-09-20 13:55:22
【问题描述】:
我在本地系统的 python 中执行 Map reduce 程序并得到以下错误:
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'
【问题讨论】:
标签: python python-2.7 mapreduce elastic-map-reduce