Github user shivaram commented on the pull request:
https://github.com/apache/spark/pull/1471#issuecomment-49911839
Actually hold off on merging this -- I found that this patch doesn't
completely solve the problem. The issue I think is that `finishConnect` throws
an IOException [1] if there is a connectTimeout and we don't retry if we hit
any exceptions.
(https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/network/Connection.scala#L327).
I'll try to test another fix and update this PR.
[1]
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/sun/nio/ch/SocketChannelImpl.java?av=h#573
---
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.
---