编译
一、下载源码
gitHub:https://github.com/azkaban/azkaban#readme
二、上传到集群:
解压
unzip azkaban-master.zip
进入解压目录:
./gradlew distTar
cp /azkaban-master/azkaban-web-server/build/distributions/azkaban-web-server-0.1.0-SNAPSHOT.tar.gz /home/work/work/azkaban/
cp /azkaban-master/azkaban-exec-server/build/distributions/azkaban-exec-server-0.1.0-SNAPSHOT.tar.gz /home/work/work/azkaban/
cp /azkaban-master/azkaban-db/build/distributions/azkaban-db-0.1.0-SNAPSHOT.tar.gz /home/work/work/azkaban/
分别解压并重新命名
tar -zxvf azkaban-exec-server-0.1.0-SNAPSHOT.tar.gz -C /home/work/work/azkaban/
具体配置:
https://blog.csdn.net/qq_42502354/article/details/106013143?spm=1001.2014.3001.5501
SSL配置
一、创建SSL配置
keytool -keystore keystore -alias jetty -genkey -keyalg RSA
1、运行此命令后,会提示输入当前生成 keystor的密码及相应信息,输入的密码请劳记,信息如下(默认enter不输入,国家必填)
2、把生成的keystore目录拷贝到azkaban-web目录下
cd azkaban-web/conf/
#jetty.use.ssl=false
jetty.ssl.port=8443
jetty.keystore=/home/work/work/azkaban/azkaban-web/keystore
jetty.password=******
jetty.keypassword=******
jetty.maxThreads=25
jetty.port=8081
jetty.truststore=/home/work/work/azkaban/azkaban-web/keystore
jetty.trustpassword=******
# Azkaban Executor settings,和azkaban.properties的executor.port参数对应
executor.port=12321
cd azkaban-exec/conf/
#jetty.use.ssl=false
executor.port=12321