Konstantin Shaposhnikov created SPARK-7042:
----------------------------------------------

             Summary: Spark version of akka-actor_2.11 is not compatible with 
the official akka-actor_2.11 2.3.x
                 Key: SPARK-7042
                 URL: https://issues.apache.org/jira/browse/SPARK-7042
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.3.1
            Reporter: Konstantin Shaposhnikov


When connecting to a remote Spark cluster (that runs Spark branch-1.3 built 
with Scala 2.11) from an application that uses akka 2.3.9 I get the following 
error:

{noformat}
2015-04-22 09:01:38,924 - [WARN] - [akka.remote.ReliableDeliverySupervisor] 
[sparkDriver-akka.actor.default-dispatcher-5] -
Association with remote system [akka.tcp://sparkExecutor@server:59007] has 
failed, address is now gated for [5000] ms.
Reason is: [akka.actor.Identify; local class incompatible: stream classdesc 
serialVersionUID = -213377755528332889, local class serialVersionUID = 1].
{noformat}

It looks like akka-actor_2.11 2.3.4-spark that is used by Spark has been built 
using Scala compiler 2.11.0 that ignores SerialVersionUID annotations (see 
https://issues.scala-lang.org/browse/SI-8549).

The following steps can resolve the issue:
- re-build the custom akka library that is used by Spark with the more recent 
version of Scala compiler (e.g. 2.11.6) 
- deploy a new version (e.g. 2.3.4.1-spark) to a maven repo
- update version of akka used by spark (master and 1.3 branch)

I would also suggest to upgrade to the latest version of akka 2.3.9 (or 2.3.10 
that should be released soon).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to