Azkaban 常见错误
1.创建project时ERROR: Insert projecttest for existing project failed.
创建project时报ERROR: Insert projecttest for existing project failed.错误,需要检查项目名称和描述中是否有中文。
2.首次运行时可能的报错ERROR [ExecutorServlet] [Azkaban] executor became inactive before setting up the flow 1 azkaban.executor.ExecutorManagerException: executor became inactive before setting up the flow 1
需要手动去激活一下 executor,方式如下:
1 | curl -G "http://192.168.2.112:12013/executor?action=activate" && echo |
3.执行 Flow 一直处于 Preparing 状态
修改 web-server conf/azkaban.properties 配置
execute 主机过滤器配置, 去掉 MinimumFreeMemory
MinimumFreeMemory 过滤器会检查 executor 主机空余内存是否会大于 6G,如果不足 6G,则 web-server 不会将任务交由该主机执行
azkaban.executorselector.filters=StaticRemainingFlowSize,CpuStatus
4.web服务无法启动
修改mysql库的excutors表的active字段为1
5.jar包上传报错
1.查看.flow文件是否含有’\t’
2.查看dependences依赖是否有误
持续更新中……