Ngone51 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_r296774015
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/SparkContext.scala
 ##########
 @@ -287,7 +286,13 @@ class SparkContext(config: SparkConf) extends Logging {
    * @note As it will be reused in all Hadoop RDDs, it's better not to modify 
it unless you
    * plan to set some global configurations for all Hadoop RDDs.
    */
-  def hadoopConfiguration: Configuration = _hadoopConfiguration
+  @deprecated("please use SparkHadoopConf.get.conf or hadoopConf.get.", 
"3.0.0")
 
 Review comment:
   TODO: update deprecated message, also in JavaSparkContext... 

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

Reply via email to