鉴于以下Azkaban配置包含1个包含3个作业的流程,如何默认禁用Job2?是否有参数/配置?
我知道我可以进入用户界面并手动禁用该作业。但是,我希望默认情况下禁用Job2,并且可能仅在需要时从UI启用它。
hadoop {
def input = "..."
workflow('MyWorkflow') {
hadoopJavaJob('Job1') {
uses 'my.package.Job1Runner'
reads files: [ ... ]
writes files: [ ... ]
}
hadoopJavaJob('Job2') {
uses 'my.package.Job2Runner'
depends 'Job1'
reads files: [ ... ]
writes files: [ ... ]
}
hadoopJavaJob('Job3') {
uses 'my.package.Job3Runner'
depends 'Job2'
reads files: [ ... ]
writes files: [ ... ]
}
targets 'Job3'
}
}