SSHOperator sigterm in HA #15341
Unanswered
alokgogate
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Which executor are you using? If you are using the LocalExecuto, then yes, this is expected behaviour and tasks will not survive longer than the parent scheduler process being killed. If you want that you should use the Celery executor. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
We were trying scheduler HA with SSHOperator in our dag, but as soon as we try to do test HA i.e. manually kill one of the schedulers the task running also gets killed. What we were trying was to connect to beeline on another node to run a hive job. Is this behaviour expected for SSHOperator ? Should we use the native operators available like hive operator, spark operator etc instead of SSHOperator
Error trace seen in logs of dag:
Beta Was this translation helpful? Give feedback.
All reactions