Cannot Stop Long Running Jobs

33 views
Skip to first unread message

Gaurav Misra

unread,
Feb 2, 2012, 1:48:53 PM2/2/12
to google-a...@googlegroups.com
Hi,

I started a couple of datastore admin tasks and they've been running all night to delete a couple of thousand entries on an app not under any load.

Deleting all _GAE_MR_MapreduceControl, _GAE_MR_MapreduceState, _GAE_MR_ShardState entities
Deleting all _FantasmTaskSemaphore entities

Trying to abort them doesn't do anything.

I need to go into production soon and I don't know how to stop these jobs.

Thanks for your help,
Gaurav

Timofey Koolin

unread,
Feb 2, 2012, 1:51:09 PM2/2/12
to google-a...@googlegroups.com
Try:
1. Delete _GAE... entities from datastore
2. Purge default task queue.

2012/2/2 Gaurav Misra <gau...@vurbal.com>

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/xWRmgQFmxgkJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.



--
Blog: www.rekby.ru

Gaurav Misra

unread,
Feb 2, 2012, 5:25:28 PM2/2/12
to google-a...@googlegroups.com
Hi Rekby,

Thanks for your quick response. I tried that and now the job for deleting the _GAE* entities is stuck:

Deleting all _GAE_MR_MapreduceControl, _GAE_MR_MapreduceState, _GAE_MR_ShardState entities (2 steps completed, 1 active)
Job 158516528565085DEE210

I have tried disabling the app and reenabling it but these jobs come right back, I don't actually think they are running. But could they cause disruption in production traffic?

Gaurav Misra

unread,
Feb 2, 2012, 5:46:53 PM2/2/12
to google-a...@googlegroups.com
Hi,

Ok, I deleted those entities from the datastore viewer and it worked, those jobs are gone.

Thanks,
Reply all
Reply to author
Forward
0 new messages