GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/6052
[SPARK-7110] [CORE] when use saveAsNewAPIHadoopFile, sometimes it throws
"Delegation Token can be issued only with kerberos or web authentication"
Call `addCredentials` in `saveAsNewAPIHadoopDataset` too to propagate
credential for new-API calls.
@tgravescs -- to your comment, `new NewAPIHadoopJob(hadoopConf)` does merge
the credentials but I don't see they were set in `hadoopConf` before? or did I
miss your point entirely?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-7110
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6052.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 #6052
----
commit 0c6e680a403bf22129e50c82162e9ede2297bc37
Author: Sean Owen <[email protected]>
Date: 2015-05-11T11:36:33Z
Call addCredentials in saveAsNewAPIHadoopDataset too to propagate
credential for new-API calls
----
---
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]