Azkaban下载及编译
1:GitHub上下载源码
git clone https://github.com/azkaban/azkaban.git
cd azkaban/
2.修改gradle的build.gradle的仓库地址为阿里云仓库,不然一些组件下载的非常慢
即将
repositories {
mavenCentral()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
改成
repositories {
maven {
url 'https://maven.aliyun.com/repository/public/'
}
mavenCentral()
maven {
url 'https://maven.aliyun.com/repository/gradle-plugin/'
}
}
3.编译
./gradlew distTar
./gradlew clean
./gradlew build installDist -x test #此命令可以跳过测试
编译完成之后,三个安装包分别存在于三个目录中
sos server模式的安装包目录:
/home/azkaban-sos-server/build/distributions
azkaban-solo-server-0.1.0-SNAPSHOT.tar.gz
azkaban-solo-server-0.1.0-SNAPSHOT.zip
exec server安装包目录:
/home/azkaban-exec-server/build/distributions
azkaban-exec-server-0.1.0-SNAPSHOT.tar.gz
azkaban-exec-server-0.1.0-SNAPSHOT.zip
web server安装包目录:
/home/azkaban-web-server/build/distributions
azkaban-web-server-0.1.0-SNAPSHOT.tar.gz
azkaban-web-server-0.1.0-SNAPSHOT.zip
git clone https://github.com/azkaban/azkaban.git
cd azkaban/
2.修改gradle的build.gradle的仓库地址为阿里云仓库,不然一些组件下载的非常慢
即将
repositories {
mavenCentral()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
改成
repositories {
maven {
url 'https://maven.aliyun.com/repository/public/'
}
mavenCentral()
maven {
url 'https://maven.aliyun.com/repository/gradle-plugin/'
}
}
3.编译
./gradlew distTar
./gradlew clean
./gradlew build installDist -x test #此命令可以跳过测试
编译完成之后,三个安装包分别存在于三个目录中
sos server模式的安装包目录:
/home/azkaban-sos-server/build/distributions
azkaban-solo-server-0.1.0-SNAPSHOT.tar.gz
azkaban-solo-server-0.1.0-SNAPSHOT.zip
exec server安装包目录:
/home/azkaban-exec-server/build/distributions
azkaban-exec-server-0.1.0-SNAPSHOT.tar.gz
azkaban-exec-server-0.1.0-SNAPSHOT.zip
web server安装包目录:
/home/azkaban-web-server/build/distributions
azkaban-web-server-0.1.0-SNAPSHOT.tar.gz
azkaban-web-server-0.1.0-SNAPSHOT.zip