GitHub user tgravescs opened a pull request:
https://github.com/apache/spark/pull/4292
[SPARK-3778] newAPIHadoopRDD doesn't properly pass credentials for secure
hdfs
.this was https://github.com/apache/spark/pull/2676
https://issues.apache.org/jira/browse/SPARK-3778
This affects if someone is trying to access secure hdfs something like:
val lines = {
val hconf = new Configuration()
hconf.set("mapred.input.dir", "mydir")
hconf.set("textinputformat.record.delimiter","\003432\n")
sc.newAPIHadoopRDD(hconf, classOf[TextInputFormat], classOf[LongWritable],
classOf[Text])
}
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tgravescs/spark SPARK-3788
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4292.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 #4292
----
commit cf3b45337a1fb1da6492779709b2bf213bccbb16
Author: Thomas Graves <[email protected]>
Date: 2014-10-06T14:53:29Z
newAPIHadoopRDD doesn't properly pass credentials for secure hdfs on yarn
----
---
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]