Skip to content

Commit 1d67d9d

Browse files
committed
Add comment to address Aaron's review comment in #1648.
1 parent d16102d commit 1d67d9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/scala/org/apache/spark/rdd/HadoopRDD.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ class HadoopRDD[K, V](
107107

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

0 commit comments

Comments
 (0)