GitHub user lianhuiwang opened a pull request:

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

    [SPARK-4195][Core]retry to fetch blocks's result when fetchfailed's reason 
is connection timeout

    when there are many executors in a application(example:1000),Connection 
timeout often occure.
    Exception is:
    WARN nio.SendingConnection: Error finishing connection 
    java.net.ConnectException: Connection timed out
            at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
            at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
            at 
org.apache.spark.network.nio.SendingConnection.finishConnect(Connection.scala:342)
            at 
org.apache.spark.network.nio.ConnectionManager$$anon$11.run(ConnectionManager.scala:273)
            at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
            at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            at java.lang.Thread.run(Thread.java:744)
    
    that will make driver as these executors are lost, but in fact these 
executors are alive. so add retry mechanism to reduce the probability of the 
occurrence of this problem. @rxin

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

    $ git pull https://github.com/lianhuiwang/spark fetchFailed-retry

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

    https://github.com/apache/spark/pull/3061.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 #3061
    
----
commit dcfef7d755c37f864e2c8fcdc86941553d042f84
Author: lianhuiwang <[email protected]>
Date:   2014-11-01T16:08:37Z

    while fetchFailed's reason is connectionException, retry to fetch blocks's 
result

----


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