Alexander Rukletsov created MESOS-1697:
------------------------------------------

             Summary: Correctly sort int task IDs in mesos webUI
                 Key: MESOS-1697
                 URL: https://issues.apache.org/jira/browse/MESOS-1697
             Project: Mesos
          Issue Type: Improvement
          Components: webui
    Affects Versions: 0.19.0
            Reporter: Alexander Rukletsov
            Priority: Minor


A task ID is a string in mesos. Therefore it is sorted lexicographically In 
mesos webUI. However, if a framework uses counter-based IDs and doesn't pad 
them with sufficient amount of zeros, sorting by ID doesn't work as expected 
anymore. Possible solutions are:
  1. Sort IDs according to their length and the lexicographically.
  2. Apply some heuristic to determine whether a task ID is counter- or 
integer- based. For example, if all framework IDs contain only digits, sort 
them in numerical order.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to