-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executor支持只启动属于组的作业 #460
Comments
lzw2006
added a commit
that referenced
this issue
Dec 17, 2018
lzw2006
added a commit
that referenced
this issue
Dec 26, 2018
heziai
added a commit
that referenced
this issue
Dec 27, 2018
@wenjingliang 请review一下实现方案和代码,看是否OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Executor支持一个-D或环境变量:VIP_SATURN_INIT_JOB_BY_GROUPS,值的格式与作业配置的groups格式相同,如:groups1,groups2
如果Executor机器设置了这个变量,则该Executor只能启动该域下属于该groups的作业; 否则,可以启动该域下全部作业。
如果Executor配置了groups,而作业不属于这个groups,那么会打印一行INFO级别的日志,如:
[testJob] msg=the job testJob wont be initialized, because it's not in the groups [group1, group2]
The text was updated successfully, but these errors were encountered: