You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Karthik Anantha Padmanabhan (JIRA)" <ji...@apache.org> on 2016/09/07 00:17:20 UTC
[jira] [Commented] (AURORA-957) JobConfiguration should not contain
a cron schedule
[ https://issues.apache.org/jira/browse/AURORA-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15469043#comment-15469043 ]
Karthik Anantha Padmanabhan commented on AURORA-957:
----------------------------------------------------
I'd like to take a stab at this.
One side effect of this would be that it would also fix AURORA-1739 correct ?
> JobConfiguration should not contain a cron schedule
> ---------------------------------------------------
>
> Key: AURORA-957
> URL: https://issues.apache.org/jira/browse/AURORA-957
> Project: Aurora
> Issue Type: Story
> Components: Scheduler, Usability
> Reporter: Bill Farner
>
> Cron behavior is treated as a composed characteristic of a job, so therefore it should not be a trait of jobs that are not cron. Create a new struct for cron jobs:
> {noformat}
> struct CronJobConfiguration {
> 1: string schedule
> 2: JobConfiguration job
> }
> {noformat}
> Change cron-related RPCs to accept this type instead of JobConfiguration (with a deprecation cycle), and remove cronSchedule from JobConfiguration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)