Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : Make the startDate/nextDate of a job available to a job. #628

Closed
vineethvarghese opened this issue Feb 3, 2016 · 1 comment

Comments

@vineethvarghese
Copy link
Contributor

We are planning to use Chronos at our organization but see some gaps in what we want and what is available in Chronos today. While the title of this issue is to address a feature we need immediately, I will list down all that we are looking for.

Our use-case requires us to run jobs on all dates that satisfies the schedule of ScheduledJob. In other words, we don't want to skip date just because it is in the past. This is because the dates are used to pull slices of data from systems onto Hadoop. In the current form of Chronos, we can't enable/configure this to be so. This would also require the startDate/newDate/intendedRunDate of a job to be available as metadata to jobs (env var?). We could start off by making the startDate available as an environment variable to jobs. This seems possible in MesosTaskBuilder as the startDate is embedded in the taskId.

In general, it would be great if we could structure the code in a way so that the job scheduling mechanism can be extended easily. What are your thoughts?

@gkleiman
Copy link
Member

Fixed by #629

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants