mesos / chronos

Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules
http://mesos.github.io/chronos/
Apache License 2.0
4.39k stars 529 forks source link

unable to fetch remote jar #846

Open anudeepmk opened 7 years ago

anudeepmk commented 7 years ago

I am unable to run the jar fetched remotely via http in a chronos job.

{ "schedule": "R/2017-07-08T09:12:00Z/PT1H", "name": "payment-history", "epsilon": "PT15M", "shell": true, "fetch": [{ "uri": "http:///jarname.jar", "extract": false, "executable": true, "cache": false }],

"command": "java -jar jarname.jar all", "owner": "bob@airbnb.com", "async": false } I am able to post the json file via curl , the job schedules but on the mesos logs I see the below

Error: Unable to access jarfile payment-history.jar

I also tried using the "uris" but it is deprecated and tried below

"shell" : false but doesnt work

please suggest

anudeepmk commented 7 years ago

any suggestions?