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

Benjamin Mahler commented on MESOS-322:
---------------------------------------

I commented on this in MESOS-510, but I'll reiterate here to gather opinions.

In order to preserve backwards compatibility here, how about we do the 
following for ID::generate("foo"):
1. If this is the first generated ID, assign both "foo" and "foo(1)" to this 
process. This maintains backwards compatibility.
2. For all remaining nth IDs, assign "foo(n)" as the ID.

Then as part of MESOS-510, I can update processes to use ID::generate without 
breaking anything. I can then add process IDs as appropriate to the webui (for 
say, Files, or the ResourceMonitor).
                
> Better urls for libprocess endpoints
> ------------------------------------
>
>                 Key: MESOS-322
>                 URL: https://issues.apache.org/jira/browse/MESOS-322
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Vinod Kone
>            Assignee: Benjamin Mahler
>            Priority: Minor
>
> Currently, we have URLs like http://hostname:5051/slave(1)/state.json
> It would be better to have something other than parens. may be 
> http://........./slave/1/state.json?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to