aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-957) JobConfiguration should not contain a cron schedule
Date Sat, 30 Sep 2017 02:29:00 GMT

    [ https://issues.apache.org/jira/browse/AURORA-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186818#comment-16186818
] 

Jing Chen commented on AURORA-957:
----------------------------------

thanks Bill, please correct me if I were wrong or you had a better solution, I would like
to introduce a new option, while this option is applied, we would accept {{CronJobConfiguration}},
{{JobConfiguration}} is executed as it is now.

> 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
>            Assignee: Jing Chen
>
> 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.4.14#64029)

Mime
View raw message