You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/03/21 17:26:00 UTC

[jira] [Updated] (BEAM-13610) Conflict with Spark 3.1.2 scala version

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

Beam JIRA Bot updated BEAM-13610:
---------------------------------
    Labels: stale-P2  (was: )

> Conflict with Spark 3.1.2 scala version
> ---------------------------------------
>
>                 Key: BEAM-13610
>                 URL: https://issues.apache.org/jira/browse/BEAM-13610
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-spark
>    Affects Versions: 2.34.0, 2.35.0
>            Reporter: Ronan SY
>            Priority: P2
>              Labels: stale-P2
>
> When trying to use Beam with spark 3.1.2 we are running into this issue :
> {code:java}
> InvalidClassException: scala.collection.mutable.WrappedArray {code}
> As explained here : [https://www.mail-archive.com/issues@spark.apache.org/msg297820.html]
> It's an incompatibility issue :  spark 3.1.2 is compiled with scala 2.12.10 but this issue is fixed only for scala >= 2.12.14.
>  
> It seems that this issue can be fixed :
> => either by compiling spark & beam with a scala version >= 2.12.14
> => either by upgrading the spark version used by beam to 3.2.0, which can be compiled with scala 2.13
>  
> Do you know if the switch to spark 3.2.0 is planned ?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)