> On Feb. 7, 2014, 1:48 p.m., Maxim Khutornenko wrote:
> > src/main/java/org/apache/aurora/scheduler/cron/quartz/QuartzCronModule.java,
> >  line 70
> > <https://reviews.apache.org/r/17750/diff/2/?file=470390#file470390line70>
> >
> >     Should it rather take "aurora-cron" and UUID.randomUUID() here? I am 
> > afraid any messages coming from quartz scheduler would duplicate the long 
> > name.

Configuration is stored in a mutable global singleton associated with a name 
and initialization fails if a scheduler with the same name has already been 
initialized. Maybe I should use a shorter string here (like a static counter in 
the module)?


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17750/#review33957
-----------------------------------------------------------


On Feb. 5, 2014, 3:23 p.m., Kevin Sweeney wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17750/
> -----------------------------------------------------------
> 
> (Updated Feb. 5, 2014, 3:23 p.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Bill Farner.
> 
> 
> Bugs: AURORA-132
>     https://issues.apache.org/jira/browse/AURORA-132
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> CronScheduler implementation based on Quartz.
> 
> This adds an implementation of CronScheduler using Quartz [1], allowing 
> Aurora to execute cron jobs without external triggering. The quartz library 
> is Apache 2 licensed and thus including it in Aurora complies with the ASF's 
> third-party licensing policy.
> 
> [1] http://quartz-scheduler.org
> 
> TODO (Subsequent reviews):
>   * Drop .noop package; make QuartCronModule the default
>   * Delete .testing package; merge QuartzCronIT and AbstractCronIT
>   * Delete thrift testing fixtures.
>   * Add examples of cron jobs to examples/jobs
>   * Add e2e test coverage for new examples
>   * Document cron schedule syntax in config reference.
>   * Create epic for reliable cron execution.
> 
> 
> Diffs
> -----
> 
>   build.gradle 5b98659b9cb93a25f0f196285910cf6afb416072 
>   src/main/java/org/apache/aurora/scheduler/cron/quartz/QuartzCronModule.java 
> PRE-CREATION 
>   
> src/main/java/org/apache/aurora/scheduler/cron/quartz/QuartzCronPredictor.java
>  PRE-CREATION 
>   
> src/main/java/org/apache/aurora/scheduler/cron/quartz/QuartzCronScheduler.java
>  PRE-CREATION 
>   src/test/java/org/apache/aurora/scheduler/cron/quartz/QuartzCronIT.java 
> PRE-CREATION 
>   
> src/test/java/org/apache/aurora/scheduler/cron/quartz/QuartzCronPredictorTest.java
>  PRE-CREATION 
>   
> src/test/java/org/apache/aurora/scheduler/cron/quartz/QuartzCronSchedulerTest.java
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/17750/diff/
> 
> 
> Testing
> -------
> 
> ./gradlew build
> 
> 
> Thanks,
> 
> Kevin Sweeney
> 
>

Reply via email to