Yang Jie created SPARK-45688:
--------------------------------

             Summary: 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


* 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to