This is an automated email from the ASF dual-hosted git repository.

gengliang pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 6357b22  [SPARK-36547][BUILD] Downgrade scala-maven-plugin to 4.3.0
6357b22 is described below

commit 6357b22ba806868ed5eb7ffbd47a578d5901194e
Author: Gengliang Wang <[email protected]>
AuthorDate: Fri Aug 20 10:45:16 2021 +0800

    [SPARK-36547][BUILD] Downgrade scala-maven-plugin to 4.3.0
    
    ### What changes were proposed in this pull request?
    
    When preparing Spark 3.2.0 RC1, I hit the same issue of 
https://github.com/apache/spark/pull/31031.
    ```
    [INFO] Compiling 21 Scala sources and 3 Java sources to 
/opt/spark-rm/output/spark-3.1.0-bin-hadoop2.7/resource-managers/yarn/target/scala-2.12/test-classes
 ...
    [ERROR] ## Exception when compiling 24 sources to 
/opt/spark-rm/output/spark-3.1.0-bin-hadoop2.7/resource-managers/yarn/target/scala-2.12/test-classes
    java.lang.SecurityException: class "javax.servlet.SessionCookieConfig"'s 
signer information does not match signer information of other classes in the 
same package
    java.lang.ClassLoader.checkCerts(ClassLoader.java:891)
    java.lang.ClassLoader.preDefineClass(ClassLoader.java:661)
    ```
    This PR is to apply the same fix again by downgrading scala-maven-plugin to 
4.3.0
    
    ### Why are the changes needed?
    
    To unblock the release process.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    ### How was this patch tested?
    
    Build test
    
    Closes #33791 from gengliangwang/downgrade.
    
    Authored-by: Gengliang Wang <[email protected]>
    Signed-off-by: Gengliang Wang <[email protected]>
    (cherry picked from commit f0775d215e73de9e34d36b3ea2468d97e6c79b3f)
    Signed-off-by: Gengliang Wang <[email protected]>
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index d2dfab0..ffd59ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2572,7 +2572,8 @@
         <plugin>
           <groupId>net.alchim31.maven</groupId>
           <artifactId>scala-maven-plugin</artifactId>
-          <version>4.5.3</version>
+          <!-- SPARK-36547: Please don't upgrade the version below, otherwise 
there will be an error on building Hadoop 2.7 package -->
+          <version>4.3.0</version>
           <executions>
             <execution>
               <id>eclipse-add-source</id>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to