LuciferYang commented on PR #47297:
URL: https://github.com/apache/spark/pull/47297#issuecomment-2222407171

   ```
   Error: ] 
/home/runner/work/spark/spark/core/src/main/scala-2.12/org/apache/spark/util/ArrayImplicits.scala:20:
 object compat is not a member of package collection
   Error: ] 
/home/runner/work/spark/spark/core/src/main/scala-2.12/org/apache/spark/util/ArrayImplicits.scala:32:
 not found: value immutable
   Error: ] 
/home/runner/work/spark/spark/core/src/main/scala-2.12/org/apache/spark/util/ArrayImplicits.scala:33:
 not found: value immutable
   Error: [ERROR] three errors found
   Error:  Failed to execute goal 
net.alchim31.maven:scala-maven-plugin:4.8.0:compile (scala-compile-first) on 
project spark-core_2.12: Execution scala-compile-first of goal 
net.alchim31.maven:scala-maven-plugin:4.8.0:compile failed: 
org.apache.commons.exec.ExecuteException: Process exited with an error: 255 
(Exit value: 255) -> [Help 1]
   Error:  
   Error:  To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   Error:  Re-run Maven using the -X switch to enable full debug logging.
   Error:  
   Error:  For more information about the errors and possible solutions, please 
read the following articles:
   Error:  [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
   Error:  
   Error:  After correcting the problems, you can resume the build with the 
command
   Error:    mvn <args> -rf :spark-core_2.12
   Error: Process completed with exit code 1.
   ```
   Maven build failed.
   
   Looking at the dependency tree, `scala-collection-compat` is a cascading 
dependency of `org.scalanlp:breeze`, but the core module does not depend on 
`org.scalanlp:breeze`. I recommend explicitly managing the version of 
`scala-collection-compat` and adding it to the core module. This will not 
introduce any additional dependencies for Spark, as it is already included in 
the `spark-deps-hadoop-3-hive-2.3` list.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to