You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/10/30 06:23:00 UTC
[jira] [Updated] (SPARK-45688) Clean up the deprecated API usage related to `MapOps`
[ https://issues.apache.org/jira/browse/SPARK-45688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-45688:
-----------------------------------
Labels: pull-request-available (was: )
> Clean up the deprecated API usage related to `MapOps`
> -----------------------------------------------------
>
> Key: SPARK-45688
> URL: https://issues.apache.org/jira/browse/SPARK-45688
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core, SQL
> Affects Versions: 4.0.0
> Reporter: Yang Jie
> Priority: Major
> Labels: pull-request-available
>
> * method - in trait MapOps is deprecated (since 2.13.0)
> * method -- in trait MapOps is deprecated (since 2.13.0)
> * method + in trait MapOps is deprecated (since 2.13.0)
>
> {code:java}
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/core/src/main/scala/org/apache/spark/deploy/worker/CommandUtils.scala:84:27: method + in trait MapOps is deprecated (since 2.13.0): Consider requiring an immutable Map or fall back to Map.concat.
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.deploy.worker.CommandUtils.buildLocalCommand.newEnvironment, origin=scala.collection.MapOps.+, version=2.13.0
> [warn] command.environment + ((libraryPathName, libraryPaths.mkString(File.pathSeparator)))
> [warn] ^
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/core/src/main/scala/org/apache/spark/deploy/worker/CommandUtils.scala:91:22: method + in trait MapOps is deprecated (since 2.13.0): Consider requiring an immutable Map or fall back to Map.concat.
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.deploy.worker.CommandUtils.buildLocalCommand, origin=scala.collection.MapOps.+, version=2.13.0
> [warn] newEnvironment += (SecurityManager.ENV_AUTH_SECRET -> securityMgr.getSecretKey())
> [warn] ^ {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org