Is there a way to ssh to different server and run BashOperator using Airbnb's Airflow?
I am trying to run a hive sql command with Airflow but I need to SSH to a different box in order to run the hive shell.
My tasks should look like this:
- SSH to server1
- start Hive shell
- run Hive command
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…