apache/spark — pull request #1758 by JoshRosen (2014-08-04 01:06:20+00:00)
Title: [SPARK-2583] ConnectionManager error reporting

This patch modifies the ConnectionManager so that error messages are sent in reply when uncaught exceptions occur during message processing. This prevents message senders from hanging while waiting for an acknowledgment if the remote message processing failed.

This is an updated version of @sarutak's PR, #1490. The main change is to use Futures / Promises to signal errors.