问题描述:
安装azkadan出现如下问题:
1、excutors出现localhost,这应该是webserver的;还有active没有变化
2、在web上跑工作流,显示拒绝连接
Error submitting flow demo. azkaban.executor.ExecutorManagerException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:12321 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1%1] failed: 拒绝连接 (Connection refused)
问题分析:
1、排查日志
1、重新核对安装过程看看有没有缺漏,excutor启动了没有active是怎么回事
2、看配置文件有没有写错,重点关注localhost
解决过程:
1、查exec的配置,无问题不更改
启动exec
激活exec,azkadan必须手动激活excutor,之前我没搞这一步
curl -G "liujinchun01:$(<./executor.port)/executor?action=activate" && echo
2、检查web的配置
[Azkaban] plugin path plugins/triggers doesn't exist!
但看这个没影响
只改mysql.host=liujinchun01,之前是mysql.host=localhost 但我觉得都一样
3、这次只用单机运行
测试成功
但excutor表还是有localhost
留个疑问:这个localhost是什么?我web吗?