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

Allow --resources flag to take JSON.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.26.0
    • None

    Description

      Currently, we used a customized format for --resources flag. As we introduce more and more stuffs (e.g., persistence, reservation) in Resource object, we need a more generic way to specify --resources.

      For backward compatibility, we can scan the first character. If it is '[', then we invoke the JSON parser. Otherwise, we use the existing parser.

      Attachments

        Issue Links

          Activity

            People

              greggomann Greg Mann
              jieyu Jie Yu
              Adam B Adam B
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: