[ https://issues.apache.org/jira/browse/MESOS-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353446#comment-14353446 ]
Jie Yu commented on MESOS-2467: ------------------------------- Should --resources be a JSON array (array of Resource) or a JSON object? I think it should be a JSON array. We need to add support for parsing JSON array to RepeatedProtobuf<XXX>? > 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)