web服务启动不起来
azkaban调度任务启动需要注意顺序,
先启动azkaban xecutor服务
在启动azkaban web服务
因为启动web服务要先寻找executor如果启动不了web服务,修改元数据库中的exector数量 update azkaban.executors set active = 1
注意:在没有启动executor表中是空的,如果启动了就会出现一个executor,但是活跃状态是0
任务一直处于killing状态
如果任务一直处于killing且无法调度开启新的任务流
可以查看azkaban.execution_flows,根据响应的exec_id查找到对应的任务,修改status
status 30:任务正在运行(running)
status 50:任务成功(SUCCEEDED)
status 55:任务正在被杀死(killing)
status 60:任务已经被杀死(killed)
status 70:任务失败(failed)
executor became inactive before setting up the flow 任务流id
错误的根本原因是在启动executorweb-server服务之后没有激活executor
curl http://localhost:你的web服务端口号/executor?action=activate
这里的web服务端口号是执行服务器的端口号,详情查看
/data/azkaban/webserver/conf/azkaban.properties