jiangxb1987 commented on a change in pull request #24530:
[SPARK-27520][CORE][WIP] Introduce a global config system to replace
hadoopConfiguration
URL: https://github.com/apache/spark/pull/24530#discussion_r281930182
##########
File path: core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala
##########
@@ -253,7 +253,7 @@ private[spark] object PythonRDD extends Logging {
valueConverterClass: String,
confAsMap: java.util.HashMap[String, String],
batchSize: Int): JavaRDD[Array[Byte]] = {
- val mergedConf = getMergedConf(confAsMap, sc.hadoopConfiguration())
+ val mergedConf = getMergedConf(confAsMap, sc.getHadoopConf())
Review comment:
Is it possible to avoid access hadoopConf via SparkContext ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]