snakebite

How to reset luigi task status?

谁说我不能喝 提交于 2019-12-22 04:26:09
问题 Currently, I have a bunch of luigi tasks queued together, with a simple dependency chain( a -> b -> c -> d ). d gets executed first, and a at the end. a is the task that gets triggered. All the targets except a return a luigi.LocalTarget() object and have a single generic luigi.Parameter() which is a string (containing a date and a time). Runs on a luigi central server (which has history enabled). The problem is that, when I rerun the said task a , luigi checks the history and sees if that

How to reset luigi task status?

点点圈 提交于 2019-12-05 03:47:11
Currently, I have a bunch of luigi tasks queued together, with a simple dependency chain( a -> b -> c -> d ). d gets executed first, and a at the end. a is the task that gets triggered. All the targets except a return a luigi.LocalTarget() object and have a single generic luigi.Parameter() which is a string (containing a date and a time). Runs on a luigi central server (which has history enabled). The problem is that, when I rerun the said task a , luigi checks the history and sees if that particular task has been run before, if it had had a status of DONE, it doesn't run the tasks ( d in this