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

arguments field of chronos job can't be http url #856

Open setekhid opened 7 years ago

setekhid commented 7 years ago

related to issue #855 , more testing show me that exception is not caused by schedule time field.

below is a minimal job json, which should work but not

{  
   "name":"start-blabla-job",
   "command":"echo",
   "arguments":[  
      "--blabla-flag",
      "http://example.com/whatever",
      "--another-blabla-flag",
      "/another-non-working-argument"
   ],
   "container":{  
      "type":"DOCKER",
      "image":"alpine:3.6"
   },
   "schedule":"R1/2017-09-20T05:33:50Z/PT12H",
   "scheduleTimeZone":"UTC",
   "epsilon":"PT12H",
   "shell":false
}

you can use issue #855 's schedule time to test. the http response code is as that said. and the error log is as that said. I've tested all json field to figure this out. only the arguments "http://example.com/whatever" cause this exception. and it doesn't make sence.

setekhid commented 7 years ago

not only http url, even directory file path can't be.

judithpatudith commented 7 years ago

@gkleiman could you take a look at this when you have a sec?