I currently have many luigi tasks queued up with a simple dependency chain ( a -> b -> c -> d). dperformed first, and a- at the end. a- This is a task that starts.
a -> b -> c -> d
d
a
All targets except areturn an object luigi.LocalTarget()and have one in common luigi.Parameter(), which is a string (containing the date and time). Runs on a central luigi server (with history enabled).
luigi.LocalTarget()
luigi.Parameter()
The problem is that when you restart the specified task, aluigi checks the history and sees if this particular task was started earlier, if it had the DONE status, it does not start the task ( din this case), and I canβt do it, change the line does not help (a random microsecond is added to it). How to make a task run?
: . , , , . . : , , , -, . , , , .
, , , . , , . , Target. , .
Target
, , Target. , , .
Luigi . , .
d6tflow , . https://d6tflow.readthedocs.io/en/latest/control.html#manually-forcing-task-reset-and-rerun.
: d6tflow, , luigi. . , .
# force execution including downstream tasks d6tflow.run([TaskTrain()],force=[TaskGetData()]) # reset single task TaskGetData().invalidate() # reset all downstream task output d6tflow.invalidate_downstream(TaskGetData(), TaskTrain()) # reset all upstream task input d6tflow.invalidate_upstream(TaskTrain())
Source: https://habr.com/ru/post/1622917/More articles:Angularjs ng-repeat filter property with more than one variable? - javascriptDateTimeFormatter is not working all the time, error? - javaThinking in a semantic interface, if I have the original background? - css-frameworksAPI Application Endpoint API - 404 with a custom domain - google-app-engineCapturing a screenshot using phantomjs on an overlay page - javascriptIs there a call method in Python? - pythonDisplay a custom font or View in the preview section of Android Studio XML - androidThe configuration of the modules component must contain the class element - phpWhat is the difference between GCL and CLISP packages? - ubuntuRedraw and resize in TW3CustomGameApplication? - smart-mobile-studioAll Articles