You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "cxzl25 (via GitHub)" <gi...@apache.org> on 2023/10/30 06:38:01 UTC

[PR] [SPARK-45717][YARN] Avoid use `spark.yarn.user.classpath.first` [spark]

cxzl25 opened a new pull request, #43579:
URL: https://github.com/apache/spark/pull/43579

   ### What changes were proposed in this pull request?
   Use `spark.driver.userClassPathFirst` instead of `spark.yarn.user.classpath.first`.
   
   ### Why are the changes needed?
   When we set `spark.yarn.user.classpath.first=true`, we get the following message.
   ```
   23/10/30 14:32:16.855 pool-1-thread-1-ScalaTest-running-ClientSuite 
   WARN SparkConf: The configuration key 'spark.yarn.user.classpath.first' has been deprecated as of Spark 1.3 and may be removed in the future. Please use spark.{driver,executor}.userClassPathFirst instead. 
   ```
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   exist UT
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org