azkaban 3.x的配置

1. exec-server

# Azkaban Personalization Settings
default.timezone.id=Asia/Shanghai

# Azkaban UserManager class
# Loader for projects
#绝对路径
executor.global.properties=/opt/module/azkaban/exec-server/conf/global.properties


azkaban.project.dir=projects
# Velocity dev mode
velocity.dev.mode=false
# Azkaban Jetty server properties.

# mail settings
lockdown.create.projects=false
cache.directory=cache

# JMX stats
jetty.connector.stats=true
executor.connector.stats=true

# Azkaban Executor settings
executor.maxThreads=50
executor.flow.threads=30

# 这里添加一个端口配置
executor.port=12321
azkaban.execution.dir=executions

# Azkaban plugin settings
#绝对路径
azkaban.jobtype.plugin.dir=/opt/module/azkaban/exec-server/plugins/jobtypes
# Azkaban mysql settings by default. Users should configure their own username and password.
database.type=mysql
mysql.port=3306
mysql.host=xiaoai03
mysql.database=azkaban
mysql.user=root
mysql.password=asdfgh
mysql.numconnections=100

2. web-server

# Azkaban Personalization Settings
azkaban.name=test
azkaban.label=test
azkaban.color=#FF3601
azkaban.default.servlet.path=/index
#绝对路径
web.resource.dir=/opt/module/azkaban/web-server/web
default.timezone.id=Asia/Shanghai

# Azkaban UserManager class
user.manager.class=azkaban.user.XmlUserManager

#绝对路径
user.manager.xml.file=/opt/module/azkaban/web-server/conf/azkaban-users.xml

# Loader for projects
#绝对路径
executor.global.properties=/opt/module/azkaban/web-server/conf/global.properties
azkaban.project.dir=projects

# Velocity dev mode
velocity.dev.mode=false

# Azkaban Jetty server properties.
jetty.maxThreads=25
jetty.port=8081
jetty.ssl.port=8441
#绝对路径
jetty.keystore=/opt/module/azkaban/web-server/keystore
jetty.password=123456
jetty.keypassword=123456
#绝对路径
jetty.truststore=/opt/module/azkaban/web-server/keystore
jetty.trustpassword=123456

# Project Manager settings
#project.temp.dir=/temp
#project.version.retention=3

# Azkaban Executor settings
executor.port=12321

# mail settings
mail.sender=
mail.host=
job.failure.email=
job.success.email=

lockdown.create.projects=false
cache.directory=cache

# JMX stats
jetty.connector.stats=true
executor.connector.stats=true

# Azkaban plugin settings
#绝对路径,不用写
azkaban.jobtype.plugin.dir=/usr/local/src/azkaban/azkaban-web-server-0.1.0-SNAPSHOT/plugins/jobtypes

# Azkaban mysql settings by default. Users should configure their own username and password.
database.type=mysql
mysql.port=3306
mysql.host=xiaoai03
mysql.database=azkaban
mysql.user=root
mysql.password=asdfgh
mysql.numconnections=100

#Multiple Executor
azkaban.use.multiple.executors=true
azkaban.executorselector.filters=StaticRemainingFlowSize,CpuStatus
azkaban.executorselector.comparator.NumberOfAssignedFlowComparator=1
azkaban.executorselector.comparator.Memory=1

3. azkaban-users.xml

<azkaban-users>
  <user groups="azkaban" password="azkaban" roles="admin" username="azkaban"/>
  <user password="metrics" roles="metrics" username="metrics"/>

  <user username="admin" password="admin" roles="admin,metrics" /> --这行是添加的

  <role name="admin" permissions="ADMIN"/>
  <role name="metrics" permissions="METRICS"/>
</azkaban-users>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值