For the xml files part, I think you can set uris in CommandInfo with
file:// scheme, e.g. file:///etc/path/to/foo.xml. Then in your executor you
can access the files in /mnt/mesos/sandbox/foo.xml.

On Tue, Jul 5, 2016 at 2:11 PM, Bryan Fok <[email protected]> wrote:

>
>
>
>
>
> <http://stackoverflow.com/questions/38195194/mesos-api-how-to-send-argument-to-task#>
> Hi all
>
> I am writing a python framework which has a custom executor. Each task I
> submit will need to pass 2 string as arguments, each task also need 2
> unique xml configuration files in the slave for the custom executor. So how
> do I pass arguments around for each task, as well as files as arguments?
>
>
>
>
>
>

Reply via email to