You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Jeff Kubina <je...@gmail.com> on 2017/11/22 18:42:53 UTC

Is it possible to configure a mesos agent to use multiple work directories?

Is it possible to configure a mesos agent to use multiple work directories
(the work_dir parameter)?

Re: Is it possible to configure a mesos agent to use multiple work directories?

Posted by Jie Yu <yu...@gmail.com>.
You can config multiple disks for persistent volumes. Please see this doc
for more details:
http://mesos.apache.org/documentation/latest/multiple-disk/

- Jie

On Wed, Nov 22, 2017 at 1:57 PM, Jeff Kubina <je...@gmail.com> wrote:

> Thanks, that is what I thought.
>
> Why: To spread the I/O-workload of some frameworks across many disks.
>
> --
> Jeff Kubina
> 410-988-4436 <(410)%20988-4436>
>
>
> On Wed, Nov 22, 2017 at 2:21 PM, Vinod Kone <vi...@apache.org> wrote:
>
>> No. Why do you need that?
>>
>> On Wed, Nov 22, 2017 at 10:42 AM, Jeff Kubina <je...@gmail.com>
>> wrote:
>>
>>> Is it possible to configure a mesos agent to use multiple work
>>> directories (the work_dir parameter)?
>>>
>>>
>>
>

Re: Is it possible to configure a mesos agent to use multiple work directories?

Posted by Vinod Kone <vi...@mesosphere.io>.
I see. One option would be to expose multiple disks as resources to
frameworks and have them use that. The task sandboxes (and other metadata)
will still be located in `work_dir`, but most of the tasks' I/O could be
directed towards those disks. Of course, this needs changes to frameworks
which is not ideal.

On Wed, Nov 22, 2017 at 1:57 PM, Jeff Kubina <je...@gmail.com> wrote:

> Thanks, that is what I thought.
>
> Why: To spread the I/O-workload of some frameworks across many disks.
>
> --
> Jeff Kubina
> 410-988-4436 <(410)%20988-4436>
>
>
> On Wed, Nov 22, 2017 at 2:21 PM, Vinod Kone <vi...@apache.org> wrote:
>
>> No. Why do you need that?
>>
>> On Wed, Nov 22, 2017 at 10:42 AM, Jeff Kubina <je...@gmail.com>
>> wrote:
>>
>>> Is it possible to configure a mesos agent to use multiple work
>>> directories (the work_dir parameter)?
>>>
>>>
>>
>

Re: Is it possible to configure a mesos agent to use multiple work directories?

Posted by Jeff Kubina <je...@gmail.com>.
Thanks, that is what I thought.

Why: To spread the I/O-workload of some frameworks across many disks.

-- 
Jeff Kubina
410-988-4436


On Wed, Nov 22, 2017 at 2:21 PM, Vinod Kone <vi...@apache.org> wrote:

> No. Why do you need that?
>
> On Wed, Nov 22, 2017 at 10:42 AM, Jeff Kubina <je...@gmail.com>
> wrote:
>
>> Is it possible to configure a mesos agent to use multiple work
>> directories (the work_dir parameter)?
>>
>>
>

Re: Is it possible to configure a mesos agent to use multiple work directories?

Posted by Vinod Kone <vi...@apache.org>.
No. Why do you need that?

On Wed, Nov 22, 2017 at 10:42 AM, Jeff Kubina <je...@gmail.com> wrote:

> Is it possible to configure a mesos agent to use multiple work directories
> (the work_dir parameter)?
>
>