You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2015/10/05 23:54:26 UTC
[jira] [Commented] (MESOS-2467) Allow --resources flag to take
JSON.
[ https://issues.apache.org/jira/browse/MESOS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944115#comment-14944115 ]
Greg Mann commented on MESOS-2467:
----------------------------------
Review for the code changes here: https://reviews.apache.org/r/39018/
I'll post another review with documentation changes soon.
> 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
> Assignee: Greg Mann
> Labels: mesosphere
>
> 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)