Skip to content

Commit

Permalink
Add comment to address Aaron's review comment in #1648.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Oct 6, 2014
1 parent d16102d commit 1d67d9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/scala/org/apache/spark/rdd/HadoopRDD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ class HadoopRDD[K, V](

// Returns a JobConf that will be used on slaves to obtain input splits for Hadoop reads.
protected def createJobConf(): JobConf = {
// Each task gets its own deserialized copy of the HadoopRDD, and therefore gets its own copy
// of the configuration.
val conf: Configuration = serializableConf.value
conf match {
case jobConf: JobConf =>
Expand Down

0 comments on commit 1d67d9d

Please sign in to comment.