[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192989#comment-15192989 ] Jay Guo commented on MESOS-3057: OK, I created another ticket https://issues.apache.org/jira/browse/MESOS-4930 instead of rewriting history here. I could work on it as well if anybody could shepherd it. > Mesos web ui sorting by Id results in non-intuitive order. > -- > > Key: MESOS-3057 > URL: https://issues.apache.org/jira/browse/MESOS-3057 > Project: Mesos > Issue Type: Bug >Affects Versions: 0.23.0 >Reporter: Cody Roseborough >Priority: Trivial > Labels: newbie > Attachments: web ui sorted by ids.png > > > In the mesos webui sorting task by ID results in non-intuitive order. For > example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, > task_100... task_109, task_11, task_110 etc. It happens if you use just > numbers as Id's also. > It seems like it should be sorted using natural sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192951#comment-15192951 ] haosdent commented on MESOS-3057: - Sure, so you means update the task id generation in long_lived_framework? Could you help update the title and description of this ticket and reopen it? > Mesos web ui sorting by Id results in non-intuitive order. > -- > > Key: MESOS-3057 > URL: https://issues.apache.org/jira/browse/MESOS-3057 > Project: Mesos > Issue Type: Bug >Affects Versions: 0.23.0 >Reporter: Cody Roseborough >Priority: Trivial > Labels: newbie > Attachments: web ui sorted by ids.png > > > In the mesos webui sorting task by ID results in non-intuitive order. For > example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, > task_100... task_109, task_11, task_110 etc. It happens if you use just > numbers as Id's also. > It seems like it should be sorted using natural sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192937#comment-15192937 ] Jay Guo commented on MESOS-3057: [~haosd...@gmail.com] Then should we at least fix this in example frameworks that come with Mesos? We came across this issue while trying long-lived-framework in /src/examples/long_lived_framework.cpp > Mesos web ui sorting by Id results in non-intuitive order. > -- > > Key: MESOS-3057 > URL: https://issues.apache.org/jira/browse/MESOS-3057 > Project: Mesos > Issue Type: Bug >Affects Versions: 0.23.0 >Reporter: Cody Roseborough >Priority: Trivial > Labels: newbie > Attachments: web ui sorted by ids.png > > > In the mesos webui sorting task by ID results in non-intuitive order. For > example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, > task_100... task_109, task_11, task_110 etc. It happens if you use just > numbers as Id's also. > It seems like it should be sorted using natural sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643185#comment-14643185 ] Cody Roseborough commented on MESOS-3057: - The one pictured is: [Mesosaurus| https://github.com/mesosphere/mesosaurus]. Came across it while testing other things and it seemed counter to what you would expect. It seems like it would effect orderings on any framework that used numbers as part of it's task_id's? > Mesos web ui sorting by Id results in non-intuitive order. > -- > > Key: MESOS-3057 > URL: https://issues.apache.org/jira/browse/MESOS-3057 > Project: Mesos > Issue Type: Bug >Affects Versions: 0.23.0 >Reporter: Cody Roseborough >Priority: Trivial > Labels: newbie > Attachments: web ui sorted by ids.png > > > In the mesos webui sorting task by ID results in non-intuitive order. For > example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, > task_100... task_109, task_11, task_110 etc. It happens if you use just > numbers as Id's also. > It seems like it should be sorted using natural sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642556#comment-14642556 ] haosdent commented on MESOS-3057: - [~Croseborough] Could you give your framework name to me? Is it open source? > Mesos web ui sorting by Id results in non-intuitive order. > -- > > Key: MESOS-3057 > URL: https://issues.apache.org/jira/browse/MESOS-3057 > Project: Mesos > Issue Type: Bug >Affects Versions: 0.23.0 >Reporter: Cody Roseborough >Priority: Trivial > Labels: newbie > Attachments: web ui sorted by ids.png > > > In the mesos webui sorting task by ID results in non-intuitive order. For > example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, > task_100... task_109, task_11, task_110 etc. It happens if you use just > numbers as Id's also. > It seems like it should be sorted using natural sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642550#comment-14642550 ] haosdent commented on MESOS-3057: - I think this ticket is not a problem. The task id maybe defined by your use framework, it could be "test_a", "test_b", "test_c" in other frameworks. The better way to fix it is let your use framwork use a fixed bit suffix. For example, like "test_1", "test_2". > Mesos web ui sorting by Id results in non-intuitive order. > -- > > Key: MESOS-3057 > URL: https://issues.apache.org/jira/browse/MESOS-3057 > Project: Mesos > Issue Type: Bug >Affects Versions: 0.23.0 >Reporter: Cody Roseborough >Priority: Trivial > Labels: newbie > Attachments: web ui sorted by ids.png > > > In the mesos webui sorting task by ID results in non-intuitive order. For > example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, > task_100... task_109, task_11, task_110 etc. It happens if you use just > numbers as Id's also. > It seems like it should be sorted using natural sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14629323#comment-14629323 ] Nikita Vetoshkin commented on MESOS-3057: - That's the problem with lexicographical sorting of strings. Perhaps we can resort to "natural sorting", there are even JS libraries for that (like [this one|https://github.com/Bill4Time/javascript-natural-sort/blob/master/naturalSort.js]). > Mesos web ui sorting by Id results in non-intuitive order. > -- > > Key: MESOS-3057 > URL: https://issues.apache.org/jira/browse/MESOS-3057 > Project: Mesos > Issue Type: Bug >Affects Versions: 0.23.0 >Reporter: Cody Roseborough >Priority: Trivial > Labels: newbie > Attachments: web ui sorted by ids.png > > > In the mesos webui sorting task by ID results in non-intuitive order. For > example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, > task_100... task_109, task_11, task_110 etc. It happens if you use just > numbers as Id's also. > It seems like it should be sorted using natural sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)