azkaban集群启动命令和脚本

zakaban启动分为Executor Server和Web Server启动

  • ExecutorServer端启动命令:
[atguigu@hadoop102 azkaban-exec]$ bin/start-exec.sh
[atguigu@hadoop103 azkaban-exec]$ bin/start-exec.sh
[atguigu@hadoop104 azkaban-exec]$ bin/start-exec.sh
  • 然后是ExecutorServer的激活
#!/bin/bash
for i in hadoop102 hadoop103 hadoop104; do
  echo "==================$i azkaban executor server activing ==================="
  ssh $i "curl -G "$i:12321/executor?action=activate" && echo"
done
~     
  • 最后是WebServer的启动命令
[atguigu@hadoop102 azkaban-web]$ bin/start-web.sh

猜你喜欢

转载自blog.csdn.net/qq_43523503/article/details/113584369