I want to know the format for an empty attribute in the list format for the
mesos-slave --attributes option. If I have an attribute, say key2, with no
value would it be "mesos-slave --attributes key1:value1;key2;key3:value3"
or "mesos-slave --attributes key1:value1;key2:;key3:value3 or does it not
matter?

-- 
Jeff Kubina
410-988-4436


On Tue, Jul 11, 2017 at 5:20 AM, Oeg Bizz <[email protected]> wrote:

> James,
>   If you need an empty attribute as default for mesos, just create an
> empty file with the '?' in front of it and save it in the
> /etc/mesos-<master or slave> directory.  For instance, if you want to
> enable authentication and want to pass the --authenticate attribute then
> create an empty file called
> /etc/mesos-master/?authenticate.
>
> Not sure if that is what you meant with your question,
>
> Oscar
>
>
> On Tuesday, July 11, 2017, 12:53:37 AM EDT, James Peach <[email protected]>
> wrote:
>
>
>
> > On Jul 7, 2017, at 4:46 PM, Jeff Kubina <[email protected]> wrote:
> >
> > When setting an attribute with no value of a mesos-agent is the colon
> needed, optional, or must it be omitted? It's not clear from the
> documentation. For example, which line or lines below are correct?
> >
> > att1:val1;att2;att3:val3
> >
> > att1:val1;att2:;att3:val3
>
>
> I don't see a way to express an empty attribute at all :(
>

Reply via email to