We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681b36f commit 5108700Copy full SHA for 5108700
core/src/main/scala/org/apache/spark/rdd/HadoopRDD.scala
@@ -126,7 +126,7 @@ class HadoopRDD[K, V](
126
private val createTime = new Date()
127
128
// Returns a JobConf that will be used on slaves to obtain input splits for Hadoop reads.
129
- protected def getJobConf(): JobConf = {
+ protected def getJobConf(): JobConf = synchronized {
130
val conf: Configuration = broadcastedConf.value.value
131
if (conf.isInstanceOf[JobConf]) {
132
// A user-broadcasted JobConf was provided to the HadoopRDD, so always use it.
0 commit comments