-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Chronos jobs to override taskInfo data
- Add 'taskInfoData' field to Chronos jobs - If specified on a job, this data is placed in the data field of the taskInfo object, which is passed to the mesos executor. - If not specified, then default Chronos task data is used (as per previous behaviour).
- Loading branch information
1 parent
94b281a
commit 9e6ba30
Showing
9 changed files
with
35 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ class SerDeTest extends SpecificationWithJUnit { | |
) | ||
|
||
val a = new DependencyBasedJob(Set("B", "C", "D", "E"), "A", "noop", Minutes.minutes(5).toPeriod, 10L, | ||
20L, "fooexec", "fooflags", 7, "[email protected]", "Foo", "Test dependency-based job", "TODAY", | ||
20L, "fooexec", "fooflags", "", 7, "[email protected]", "Foo", "Test dependency-based job", "TODAY", | ||
"YESTERDAY", true, container = container, environmentVariables = environmentVariables, | ||
shell = false, arguments = arguments, softError = true, constraints = constraints) | ||
|
||
|
@@ -86,7 +86,7 @@ class SerDeTest extends SpecificationWithJUnit { | |
) | ||
|
||
val a = new ScheduleBasedJob("FOO/BAR/BAM", "A", "noop", Minutes.minutes(5).toPeriod, 10L, 20L, | ||
"fooexec", "fooflags", 7, "[email protected]", "Foo", "Test schedule-based job", "TODAY", | ||
"fooexec", "fooflags", "", 7, "[email protected]", "Foo", "Test schedule-based job", "TODAY", | ||
"YESTERDAY", true, container = container, environmentVariables = environmentVariables, | ||
shell = true, arguments = arguments, softError = true, constraints = constraints) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters