Jie Yu created MESOS-2467:
-----------------------------

             Summary: Allow --resources flag to take JSON.
                 Key: MESOS-2467
                 URL: https://issues.apache.org/jira/browse/MESOS-2467
             Project: Mesos
          Issue Type: Improvement
            Reporter: Jie Yu


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to