Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8504

Value for mesos attributes is not optional

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4.1
    • None
    • agent, documentation
    • CentOS Linux release 7.2.1511 (Core)

      mesos-1.4.1-2.0.1.x86_64

    Description

      Mesos documentation describes attributes as following

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

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

      Neither with

      
      --attributes=bla
      
      

      nor

      
      --attributes=bla:
      
      

       

      You'll get the following errors

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

      or

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

      accordingly

      Agent code should allow setting attributes without value according to documentation. This should be fixed in both mesos-agent binary and mesos-init-wrapper script

      If documentation is wrong the web page describing roles has to be fixed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            timp87 Pavel Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: