Pavel Timofeev created MESOS-8504:
-------------------------------------

             Summary: Value for mesos attributes is not optional
                 Key: MESOS-8504
                 URL: https://issues.apache.org/jira/browse/MESOS-8504
             Project: Mesos
          Issue Type: Documentation
          Components: agent, documentation
    Affects Versions: 1.4.1
         Environment: CentOS Linux release 7.2.1511 (Core)

mesos-1.4.1-2.0.1.x86_64
            Reporter: Pavel Timofeev


[Mesos 
documentation|http://mesos.apache.org/documentation/latest/attributes-resources/]
 describes attributes as following

{noformat}

Attributes are key-value pairs (where value is optional) ...

{noformat}

There is no way to start an agent with attribute w/o value, i. e. with key set 
only.

Neither with

{code}

--attributes=bla

{code}

nor

{code}

--attributes=bla:

{code}

 

You'll get the following errors

{code}

attributes.cpp:145] Invalid attribute key:value pair 'bla'

{code}

or

{code}

attributes.cpp:145] Invalid attribute key:value pair 'bla:'

{code}

accordingly


The documentation should be fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to