You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Adam B (JIRA)" <ji...@apache.org> on 2016/03/24 11:00:34 UTC

[jira] [Updated] (MESOS-1420) Shorten slave, framework and run IDs

     [ https://issues.apache.org/jira/browse/MESOS-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam B updated MESOS-1420:
--------------------------
    Shepherd:   (was: Adam B)

> Shorten slave, framework and run IDs
> ------------------------------------
>
>                 Key: MESOS-1420
>                 URL: https://issues.apache.org/jira/browse/MESOS-1420
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Robert Lacroix
>            Priority: Minor
>
> Slave, framework and run IDs are currently quite long and therefore clutter paths to sandboxes. Typically a sandbox path looks like this:
> {code}
> /tmp/mesos/slaves/2014-05-23-16:21:05-16777343-5050-3204-0/frameworks/2014-05-23-16:21:05-16777343-5050-3204-0000/executors/<executor_id>/runs/c22e4dc3-95e5-49fc-9793-b0d22a4f244c
> {code}
> I'd propose shorter and uniform IDs for slaves, frameworks and runs (and probably everywhere else where we use IDs) that look like this:
> {code}
> [a-z0-9]{13}
> {code}
> This has about 65bit keyspace compared to 128bit of a UUID, but I think it should be random enough.
> With that the path would be roughly 80 chars shorter (179 vs 99) and a lot more readable:
> {code}
> /tmp/mesos/slaves/i0b195fb1j14n/frameworks/gtq5kgba60ll4/executors/<executor_id>/runs/7qisjqsb581io
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)