apache/spark — pull request #2676 by tgravescs (2014-10-06 14:59:38+00:00)
Title: [SPARK-3778] newAPIHadoopRDD doesn't properly pass credentials for secure hdfs

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])
}