Re: Using sbt assembly

2016-02-18 Thread Brian London
You need to add the plugin to your plugins.sbt file not your build.sbt file. Also, I don't see a 0.13.9 version on Github. 0.14.2 is current. On Thu, Feb 18, 2016 at 9:50 PM Arko Provo Mukherjee < arkoprovomukher...@gmail.com> wrote: > Hello, > > I am trying to use sbt assembly to generate a

Using sbt assembly

2016-02-18 Thread Arko Provo Mukherjee
Hello, I am trying to use sbt assembly to generate a fat JAR. Here is my \project\assembly.sbt file: resolvers += Resolver.url("bintray-sbt-plugins", url("http://dl.bintray.com/sbt/sbt-plugin-releases;))(Resolver.ivyStylePatterns) addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.9")

Re: Packaging a jar for a jdbc connection using sbt assembly and scala.

2015-10-29 Thread Dean Wood
hen starting a spark shell with the >> --driver-class-path >> option pointing to the mysql jar, I can run the commands and extract data >> from the mysql database. >> >> I've tried version 5.1.34 and 5.0.8 and neither have worked. I've also >> tried >> changing --d

Re: Packaging a jar for a jdbc connection using sbt assembly and scala.

2015-10-29 Thread Kai Wei
Submiting your app in client mode may help with your problem. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Packaging-a-jar-for-a-jdbc-connection-using-sbt-assembly-and-scala-tp25225p25228.html Sent from the Apache Spark User List mailing list archive

Packaging a jar for a jdbc connection using sbt assembly and scala.

2015-10-29 Thread dean.wood
t;com.mysql.jdbc.Driver") to the scala code. Any clue what I am doing wrong with the build would be greatly appreciated. Dean -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Packaging-a-jar-for-a-jdbc-connection-using-sbt-assembly-and-

Re: Packaging a jar for a jdbc connection using sbt assembly and scala.

2015-10-29 Thread Deenar Toraskar
ell with the > --driver-class-path > option pointing to the mysql jar, I can run the commands and extract data > from the mysql database. > > I've tried version 5.1.34 and 5.0.8 and neither have worked. I've also > tried > changing --driver-class-path for --jar in the spark submit comman