GitHub user ajbozarth opened a pull request:

    https://github.com/apache/spark/pull/13654

    [SPARK-15868] [Web UI] Executors table in Executors tab should sort 
Executor IDs in numerical order

    ## What changes were proposed in this pull request?
    
    Currently the Executors table sorts by id using a string sort (since that's 
what it is stored as). Since  the id is a number (other than the driver) we 
should be sorting numerically. I have changed both the initial sort on page 
load as well as the table sort to sort on id numerically, treating non-numeric 
strings (like the driver) as "-1"
    
    ## How was this patch tested?
    
    Manually tested and dev/run-tests
    
    
![pageload](https://cloud.githubusercontent.com/assets/13952758/16027882/d32edd0a-318e-11e6-9faf-fc972b7c36ab.png)
    
![sorted](https://cloud.githubusercontent.com/assets/13952758/16027883/d34541c6-318e-11e6-9ed7-6bfc0cd4152e.png)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ajbozarth/spark spark15868

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/13654.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13654
    
----
commit 35b280a1882fd3f5ae34c71cb00a12bf12852a90
Author: Alex Bozarth <ajboz...@us.ibm.com>
Date:   2016-06-14T00:08:52Z

    Fixed sorting on executor id

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to