You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Denis Pyshev (Jira)" <ji...@apache.org> on 2020/10/06 22:42:00 UTC

[jira] [Updated] (SPARK-33080) Replace compiler reporter with more robust and maintainable solution

     [ https://issues.apache.org/jira/browse/SPARK-33080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Pyshev updated SPARK-33080:
---------------------------------
    Description: 
Currently existing solution to have build to fail on any warning except deprecation ones ([https://github.com/apache/spark/blob/v3.0.1/project/SparkBuild.scala#L285)] is not very maintainable in scope of build upgrade to latest sbt. 

At upgrade to sbt 1.4.0 this snippet would fail build import at all.

Implement new solution, using switch over compiler versions, silencer compiler plugin for Scala prior 2.13.2 and built-in warning configuration since Scala 2.13.2

Depends on changes for SPARK

  was:
Currently existing solution to have build to fail on any warning except deprecation ones ([https://github.com/apache/spark/blob/v3.0.1/project/SparkBuild.scala#L285)] is not very maintainable in scope of build upgrade to latest sbt. 

At upgrade to sbt 1.4.0 this snippet would fail build import at all.

Implement new solution, using switch over compiler versions, silencer compiler plugin for Scala prior 2.13.2 and built-in warning configuration since Scala 2.13.2


> Replace compiler reporter with more robust and maintainable solution
> --------------------------------------------------------------------
>
>                 Key: SPARK-33080
>                 URL: https://issues.apache.org/jira/browse/SPARK-33080
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.1.0
>            Reporter: Denis Pyshev
>            Priority: Minor
>
> Currently existing solution to have build to fail on any warning except deprecation ones ([https://github.com/apache/spark/blob/v3.0.1/project/SparkBuild.scala#L285)] is not very maintainable in scope of build upgrade to latest sbt. 
> At upgrade to sbt 1.4.0 this snippet would fail build import at all.
> Implement new solution, using switch over compiler versions, silencer compiler plugin for Scala prior 2.13.2 and built-in warning configuration since Scala 2.13.2
> Depends on changes for SPARK



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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