You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Pavel Timofeev (JIRA)" <ji...@apache.org> on 2018/01/29 15:29:00 UTC
[jira] [Created] (MESOS-8504) Value for mesos attributes is not
optional
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)