You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Phil Siegrist <ps...@gmail.com> on 2013/09/26 17:13:38 UTC
Disk Resource Offer Control
Hi, I'm currently running mesos on EC2. The root partition is small. Is
there a way to specify the location/s for disk resources.
All my work is currently being deployed to tmp.
Re: Disk Resource Offer Control
Posted by Vinod Kone <vi...@twitter.com>.
Hey Phil.
This was fixed in 0.12.1. I recommend upgrading to that or 0.13.0.
@vinodkone
On Mon, Oct 7, 2013 at 8:37 AM, Phil Siegrist <ps...@gmail.com> wrote:
> Hi Damien et al,
>
> This does not seem to exactly work: Let me explain. I'm on mesos 0.12.0
>
> I've launched the slave with the following setting:
>
> --work_dir=/media/ephemeral0/tmp
>
> What this appears to have done is add the following symlink to /tmp
>
> mesos -> /media/ephemeral0/var/log/mesos-slaves
>
> Although the workers to write to the correct vol through the link, mesos
> still offers the space in / (root) for it's size offering.
>
> Am I missing something? Thanks for the help!
>
>
>
> On Thu, Sep 26, 2013 at 11:35 AM, Damien Hardy <dh...@viadeoteam.com>wrote:
>
>> Hello
>>
>> On the mesos-slave exec you can give it an option :
>>
>> --work_dir=VALUE Where to place framework work
>> directories
>> (default: /tmp/mesos)
>>
>> Best regards,
>>
>>
>>
>> 2013/9/26 Phil Siegrist <ps...@gmail.com>
>>
>>> Hi, I'm currently running mesos on EC2. The root partition is small. Is
>>> there a way to specify the location/s for disk resources.
>>>
>>> All my work is currently being deployed to tmp.
>>>
>>
>>
>>
>> --
>> Damien HARDY
>>
>
>
Re: Disk Resource Offer Control
Posted by Phil Siegrist <ps...@gmail.com>.
Hi Damien et al,
This does not seem to exactly work: Let me explain. I'm on mesos 0.12.0
I've launched the slave with the following setting:
--work_dir=/media/ephemeral0/tmp
What this appears to have done is add the following symlink to /tmp
mesos -> /media/ephemeral0/var/log/mesos-slaves
Although the workers to write to the correct vol through the link, mesos
still offers the space in / (root) for it's size offering.
Am I missing something? Thanks for the help!
On Thu, Sep 26, 2013 at 11:35 AM, Damien Hardy <dh...@viadeoteam.com>wrote:
> Hello
>
> On the mesos-slave exec you can give it an option :
>
> --work_dir=VALUE Where to place framework work
> directories
> (default: /tmp/mesos)
>
> Best regards,
>
>
>
> 2013/9/26 Phil Siegrist <ps...@gmail.com>
>
>> Hi, I'm currently running mesos on EC2. The root partition is small. Is
>> there a way to specify the location/s for disk resources.
>>
>> All my work is currently being deployed to tmp.
>>
>
>
>
> --
> Damien HARDY
>
Re: Disk Resource Offer Control
Posted by Damien Hardy <dh...@viadeoteam.com>.
Hello
On the mesos-slave exec you can give it an option :
--work_dir=VALUE Where to place framework work
directories
(default: /tmp/mesos)
Best regards,
2013/9/26 Phil Siegrist <ps...@gmail.com>
> Hi, I'm currently running mesos on EC2. The root partition is small. Is
> there a way to specify the location/s for disk resources.
>
> All my work is currently being deployed to tmp.
>
--
Damien HARDY