Github user mridulm commented on the pull request: https://github.com/apache/spark/pull/2078#issuecomment-53153441 Why it happens is anyone's guess, I know it happens since fairly the very beginning when I started using nio in 1.4.x; and continues till today. If you search online, you will see a lot of people still hit it (and most of them are not on 1.4.x). I added this codepath since selector thread was dying due to this issue. Btw, if you actually look at the evaluation of the bug, you will notice that some workarounds are suggested - which are not applicable to a moderately multi-threaded app like spark (we dont know 'when' we will be done with a key !).
--- 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