RosterIn commented on issue #8296: Make execute and on_kill as abstractmethod 
in baseoperator
URL: https://github.com/apache/airflow/pull/8296#issuecomment-613605288
 
 
   The problem is also where you need to kill a process on remote machine.
   https://issues.apache.org/jira/browse/AIRFLOW-3750 
   
   This is also not that simple as some operators are not stand alone but a 
part of series of operators.
   Think of `CreateMachineOperator` -> 1 or more `RunOperator` -> 
`TerminateOperator` (Like EMR for example)
   What functionally will `on_kill()` have in any of them? shall it be just:
   ```
   def on_kill():
      pass
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to