Actually, it is possible to integrate Spark 1.1.0 with Play 2.2.x

Here is a sample build.sbt file:

name := """xyz"""

version := "0.1 "

scalaVersion := "2.10.4"

libraryDependencies ++= Seq(
  jdbc,
  anorm,
  cache,
  "org.apache.spark" %% "spark-core" % "1.1.0",
  "com.typesafe.akka" %% "akka-actor" % "2.2.3",
  "com.typesafe.akka" %% "akka-slf4j" % "2.2.3",
  "org.apache.spark" %% "spark-sql" % "1.1.0"
)

play.Project.playScalaSettings


Mohammed

-----Original Message-----
From: Patrick Wendell [mailto:pwend...@gmail.com] 
Sent: Tuesday, November 11, 2014 2:06 PM
To: Akshat Aranya
Cc: user@spark.apache.org
Subject: Re: Spark and Play

Hi There,

Because Akka versions are not binary compatible with one another, it might not 
be possible to integrate Play with Spark 1.1.0.

- Patrick

On Tue, Nov 11, 2014 at 8:21 AM, Akshat Aranya <aara...@gmail.com> wrote:
> Hi,
>
> Sorry if this has been asked before; I didn't find a satisfactory 
> answer when searching.  How can I integrate a Play application with 
> Spark?  I'm getting into issues of akka-actor versions.  Play 2.2.x 
> uses akka-actor 2.0, whereas Play 2.3.x uses akka-actor 2.3.4, neither 
> of which work fine with Spark 1.1.0.  Is there something I should do 
> with libraryDependencies in my build.sbt to make it work?
>
> Thanks,
> Akshat

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


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

Reply via email to