That's not supported. You could use wget / curl to download the file to a
temp location before running spark-submit, though.

On Thu, Jun 11, 2015 at 12:48 PM, Gary Ogden <gog...@gmail.com> wrote:

> I have a properties file that is hosted at a url. I would like to be able
> to use the url in the --properties-file parameter when submitting a job to
> mesos using spark-submit via chronos
>
> I would rather do this than use a file on the local server.
>
> This doesn't seem to work though when submitting from chronos:
>
> bin/spark-submit --properties-file http://server01/props/app.properties
>
> Inside the properties file:
> spark.executor.memory=256M
> spark.cores.max=1
> spark.shuffle.consolidateFiles=true
> spark.task.cpus=1
> spark.deploy.defaultCores=1
> spark.driver.cores=1
> spark.scheduler.mode=FAIR
>
> So how do I specify a properties file in a url?
>



-- 
Marcelo

Reply via email to