Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/2676#discussion_r19823688
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -641,6 +641,7 @@ class SparkContext(config: SparkConf) extends Logging {
kClass: Class[K],
vClass: Class[V],
conf: Configuration = hadoopConfiguration): RDD[(K, V)] = {
+ // mapreduce.Job (NewHadoopJob) merges any credentials for you.
--- End diff --
This was just saying that the call to "new NewHadoopJob" adds the
credentials to the conf passed in for you, so we don't need an explicit call to
SparkHadoopUtil.get.addCredentials(jconf).
I can try to rephrase
---
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]