GitHub user dongjoon-hyun opened a pull request:

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

    [SPARK-18953][CORE][WEB UI] Do now show the link to a dead worker on the 
master page

    ## What changes were proposed in this pull request?
    
    For a dead worker, we will not be able to see its worker page anyway. This 
PR removes the links to dead workers from the master page.
    
    ## How was this patch tested?
    
    Manual. Do the following step.
    
    **1. Start a master and a slave**
    
    ```
    SPARK_HOME=$PWD sbin/start-master.sh
    SPARK_HOME=$PWD sbin/start-slave.sh spark://10.22.16.140:7077
    ```
    
    
![1_live_worker_a](https://cloud.githubusercontent.com/assets/9700541/21373572/d7e187d6-c6d4-11e6-9110-f4371d215dec.png)
    
    **2. Stop the slave**
    ```
    SPARK_HOME=$PWD sbin/stop-slave.sh
    ```
    
    
![2_dead_worker_a](https://cloud.githubusercontent.com/assets/9700541/21373579/dd9e9704-c6d4-11e6-9047-a22cb0aa83ed.png)
    
    **3. Start a slave**
    
    ```
    SPARK_HOME=$PWD sbin/start-slave.sh spark://10.22.16.140:7077
    ```
    
    
![3_dead_worder_a_and_live_worker_b](https://cloud.githubusercontent.com/assets/9700541/21373582/e1b207f4-c6d4-11e6-89cb-6d8970175a5e.png)
    
    **4. Stop the slave**
    
    ```
    SPARK_HOME=$PWD sbin/stop-slave.sh
    ```
    
    
![4_dead_worker_a_and_b](https://cloud.githubusercontent.com/assets/9700541/21373584/e5fecb4e-c6d4-11e6-95d3-49defe366946.png)


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

    $ git pull https://github.com/dongjoon-hyun/spark SPARK-18953

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

    https://github.com/apache/spark/pull/16366.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 #16366
    
----
commit 4e5d5f2ae4b13ec172c0ab81f15d86af8149596d
Author: Dongjoon Hyun <[email protected]>
Date:   2016-12-21T00:47:19Z

    [SPARK-18953][CORE][WEB UI] Do now show the link to a dead worker on the 
master page

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to