diff options
author | Davies Liu <davies@databricks.com> | 2016-03-02 14:35:44 -0800 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2016-03-02 14:35:44 -0800 |
commit | b5a59a0fe2ea703ce2712561e7b9044f772660a2 (patch) | |
tree | 73d2355a4faefd6f91aff29fc5458e92b76b6092 /examples | |
parent | 9e01fe2ed1e834710f4ee6a02864ab0fcc528fef (diff) | |
download | spark-b5a59a0fe2ea703ce2712561e7b9044f772660a2.tar.gz spark-b5a59a0fe2ea703ce2712561e7b9044f772660a2.tar.bz2 spark-b5a59a0fe2ea703ce2712561e7b9044f772660a2.zip |
[SPARK-13601] call failure callbacks before writer.close()
## What changes were proposed in this pull request?
In order to tell OutputStream that the task has failed or not, we should call the failure callbacks BEFORE calling writer.close().
## How was this patch tested?
Added new unit tests.
Author: Davies Liu <davies@databricks.com>
Closes #11450 from davies/callback.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions