方案一:
指定特定的Executor(hadoop102)去執行任務。
mysql> use azkaban;
mysql> select * from executors;
id | host | port | active |
在執行azkaban調度的時候加上useExcutor 對應的id號。
image.png
案二:
在Executor所在所有節點部署任務所需腳本和應用
分發腳本、sqoop、spark、my_env.sh
指定特定的Executor(hadoop102)去執行任務。
mysql> use azkaban;
mysql> select * from executors;
id | host | port | active |
在執行azkaban調度的時候加上useExcutor 對應的id號。
在Executor所在所有節點部署任務所需腳本和應用
分發腳本、sqoop、spark、my_env.sh