diff options
author | zsxwing <zsxwing@gmail.com> | 2014-10-09 11:27:21 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@apache.org> | 2014-10-09 11:27:21 -0700 |
commit | 73bf3f2e0c03216aa29c25fea2d97205b5977903 (patch) | |
tree | 7cdeb63b1f90ae9aae21de83b3bb9d98e3866cd8 /sql/hive | |
parent | 1e0aa4deba65aa1241b9a30edb82665eae27242f (diff) | |
download | spark-73bf3f2e0c03216aa29c25fea2d97205b5977903.tar.gz spark-73bf3f2e0c03216aa29c25fea2d97205b5977903.tar.bz2 spark-73bf3f2e0c03216aa29c25fea2d97205b5977903.zip |
[SPARK-3741] Make ConnectionManager propagate errors properly and add mo...
...re logs to avoid Executors swallowing errors
This PR made the following changes:
* Register a callback to `Connection` so that the error will be propagated properly.
* Add more logs so that the errors won't be swallowed by Executors.
* Use trySuccess/tryFailure because `Promise` doesn't allow to call success/failure more than once.
Author: zsxwing <zsxwing@gmail.com>
Closes #2593 from zsxwing/SPARK-3741 and squashes the following commits:
1d5aed5 [zsxwing] Fix naming
0b8a61c [zsxwing] Merge branch 'master' into SPARK-3741
764aec5 [zsxwing] [SPARK-3741] Make ConnectionManager propagate errors properly and add more logs to avoid Executors swallowing errors
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions