我正在運行mapreduce框架附帶的演示。它給我一個錯誤:在Google應用引擎上運行mapreduce工作
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/_webapp25.py", line 703, in __call__
handler.post(*groups)
File "/path/to/mapreduce/base_handler.py", line 68, in post
self.handle()
File "/path/to/mapreduce/handlers.py", line 431, in handle
self.aggregate_state(state, shard_states)
File "/path/to/mapreduce/handlers.py", line 462, in aggregate_state
context.COUNTER_MAPPER_CALLS))
File "/path/to/mapreduce/model.py", line 257, in get
return self.counters.get(counter_name, 0)
AttributeError: 'list' object has no attribute 'get'
這是我做錯了,演示不工作?其他地方是否有更新的代碼?
這是使用代碼http://appengine-mapreduce.googlecode.com/svn/trunk/
在什麼時候你會得到這個錯誤?你上傳到演示文件的是什麼樣的文件? – someone1 2012-04-11 21:37:27