I use airflow version 2.1.0 and here is my code:
task1 = SSHOperator(
ssh_hook=sshHook,
task_id='test_spark,
do_xcom_push=False,
command=command spark submit)
I submit on mode local and kill it -> work ok. But I run on mode yarn it when i kill it on UI airflow it doesn't work. can anyone help me? Thanks for reading.