here is what I’m trying to do:
I set up a MapReduce job with the new Mapper API. This basically works fine.
The problem is that the Task Queue retries all tasks that have failed. But actually I don’t want him to do that.
Is there a way to delete a task from the queue or tell it that the task was completed successfully? Perhaps passing a 200 status code?
I know that I can fetch the X-Appengine-Taskretrycount, but that doesn’t really help since I don’t know how to stop the task. I tried using a ‘pass’ in the try .. except block but that didn’t work either.
Any help would be much appreciated 🙂
Thanks,
Chris
In your task handler do this
Hope this helps!!