You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2016/07/20 23:52:20 UTC

[jira] [Commented] (MESOS-4627) Improve Ranges parsing to handle single values.

    [ https://issues.apache.org/jira/browse/MESOS-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386836#comment-15386836 ] 

Benjamin Mahler commented on MESOS-4627:
----------------------------------------

Yes, please see the review feedback.

> 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)