GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/6612
[SPARK-8079] [SQL] Makes InsertIntoHadoopFsRelation job/task abortion more
robust
As described in SPARK-8079, when writing a DataFrame to a
`HadoopFsRelation`, if `HadoopFsRelation.prepareForWriteJob` throws exception,
an unexpected NPE will be thrown during job abortion. (This issue doesn't bring
much damage since the job is failing anyway.)
This PR makes the job/task abortion logic in `InsertIntoHadoopFsRelation`
more robust to avoid such confusing exceptions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark spark-8079
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6612.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 #6612
----
commit 34c333ac5398af24f6d1ae455b8d91b2db009e7e
Author: Cheng Lian <[email protected]>
Date: 2015-06-03T14:06:03Z
Makes InsertIntoHadoopFsRelation job/task abortion 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]