GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/6378
[SPARK-7842] [SQL] Makes task committing/aborting in
InsertIntoHadoopFsRelation more robust
When committing/aborting a write task issued in
`InsertIntoHadoopFsRelation`, if an exception is thrown from
`OutputWriter.close()`, the committing/aborting process will be interrupted,
and leaves messy stuff behind (e.g., the `_temporary` directory created by
`FileOutputCommitter`).
This PR makes these two process more robust by catching potential
exceptions and falling back to normal task committment/abort.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark spark-7838
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6378.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6378
----
commit f18253a0ceefd15e0031271a0f88e7e059b92748
Author: Cheng Lian <[email protected]>
Date: 2015-05-23T13:52:17Z
Makes task committing/aborting in InsertIntoHadoopFsRelation more robust
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]