EvgenyZamyatin commented on PR #37967: URL: https://github.com/apache/spark/pull/37967#issuecomment-1256936762
How could I fix this error? The problem is due to the change of parallel collections in scala 2.13 I can fix it for scala 2.13, but how I could fix it for cross building? ``` [error] /home/runner/work/spark/spark/mllib/src/main/scala/org/apache/spark/mllib/feature/SkipGram.scala:47:64: object forkjoin is not a member of package concurrent [error] val support = new ForkJoinTaskSupport(new scala.concurrent.forkjoin.ForkJoinPool(cpus)) [error] ^ [error] /home/runner/work/spark/spark/mllib/src/main/scala/org/apache/spark/mllib/feature/SkipGram.scala:49:22: value par is not a member of Seq[A] [error] did you mean map, max, or span? [error] val parr = arr.par [error] ^ [error] /home/runner/work/spark/spark/mllib/src/main/scala/org/apache/spark/mllib/feature/SkipGram.scala:56:64: object forkjoin is not a member of package concurrent [error] val support = new ForkJoinTaskSupport(new scala.concurrent.forkjoin.ForkJoinPool(cpus)) [error] ^ [error] /home/runner/work/spark/spark/mllib/src/main/scala/org/apache/spark/mllib/feature/SkipGram.scala:58:22: value par is not a member of Seq[A] [error] did you mean map, max, or span? [error] val parr = arr.par [error] ^ [error] four errors found [error] (mllib / Compile / compileIncremental) Compilation failed [error] Total time: 429 s (07:09), completed Sep 22, 2022 5:09:20 PM ``` -- 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]
