You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Klaus Ma (JIRA)" <ji...@apache.org> on 2016/07/09 10:49:12 UTC
[jira] [Updated] (MESOS-4627) Improve Ranges parsing to handle
single values.
[ https://issues.apache.org/jira/browse/MESOS-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Klaus Ma updated MESOS-4627:
----------------------------
Assignee: (was: Klaus Ma)
> Improve Ranges parsing to handle single values.
> -----------------------------------------------
>
> Key: MESOS-4627
> URL: https://issues.apache.org/jira/browse/MESOS-4627
> Project: Mesos
> Issue Type: Improvement
> Reporter: Benjamin Mahler
> Labels: newbie
>
> Users expect to be able to write a single value entry when specifying ports:
> {noformat}
> ./bin/mesos-slave.sh --resources="ports:[80, 100-120]" --master=localhost:5050
> ...
> Failed to determine slave resources: Failed to parse resource ports value [80, 100-120] error Expecting one or more "ranges"
> {noformat}
> We should improve our parsing ability here. We should also consider stringifying using this more succinct format.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)