Benjamin Mahler created MESOS-4627:
--------------------------------------
Summary: 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
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)