eclipse - How to create a Spark Streaming jar that would work in AWS EMR? -
i've been developing spark streaming application eclipse, , i'm using sbt run locally.
now want deploy application on aws using jar, when try use command package
of sbt creates jar without dependencies when upload on aws won't work because of scala being missing.
is there way create uber-jar sbt? doing wrong deployment of spark on aws?
for creating uber-jar sbt, use sbt plugin sbt-assembly. more details creating uber-jar using sbt-assembly refer the blog post
after creating can run assembly jar using java -jar command.
but spark-1.0.0 onwards spark-submit script in spark’s bin directory used launch applications on cluster for more details refer here
Comments
Post a Comment