This is annoying, because if one needs to modify only one parameter of a deployed chronos job, intuitively he fetches the current configuration, replaces the parameter and submits it again. But this will lead to an "File Exists" error when mesos fetches the files(two times).
BTW curl $CHRONOS_HOST/v1/scheduler/jobs/search?name=temporara works just fine, but it is not supported by the current frmework that I use (chronos-python==1.0.0).
curl $CHRONOS_HOST/v1/scheduler/jobs
If one deploys the job above and executes the REST query, he gets a result where both the "uris" and the "fetch" keys present:
This is annoying, because if one needs to modify only one parameter of a deployed chronos job, intuitively he fetches the current configuration, replaces the parameter and submits it again. But this will lead to an "File Exists" error when mesos fetches the files(two times).
BTW
curl $CHRONOS_HOST/v1/scheduler/jobs/search?name=temporara
works just fine, but it is not supported by the current frmework that I use (chronos-python==1.0.0).