GitHub user hustfxj opened a pull request:

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

    [SPARK-19831][CORE] Use a separate thread to clean up the finished 
application to avoid the block

    Cleaning the application may cost much time at worker, then it will block 
that the worker send heartbeats master because the worker is extend 
ThreadSafeRpcEndpoint. If the heartbeat from a worker is blocked by the message 
ApplicationFinished, master will think the worker is dead. If the worker has a 
driver, the driver will be scheduled by master again. 
    It had better use a separate thread to clean up the finished application to 
avoid the block


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

    $ git pull https://github.com/hustfxj/spark worker-hearbeat

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

    https://github.com/apache/spark/pull/17189.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 #17189
    
----
commit a353262f3089c2c06fe07fc858450f771b3f54a8
Author: xiaojian.fxj <xiaojian....@alibaba-inc.com>
Date:   2017-03-07T11:59:07Z

    [SPARK-19831][CORE] Use a separate thread to clean up the finished 
application to avoid the block

----


---
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