Re: packaging spark run time with osgi service

2014-12-04 Thread Lochana Menikarachchi
I think the problem has to do with akka not picking up the reference.conf file in the assembly.jar We managed to make akka pick the conf file by temporary switching the class loaders. Thread.currentThread().setContextClassLoader(JavaSparkContext.class.getClassLoader()); The model gets build

Re: packaging spark run time with osgi service

2014-12-01 Thread Lochana Menikarachchi
Already tried the solutions they provided.. Did not workout.. On 12/2/14 8:17 AM, Dinesh J. Weerakkody wrote: Hi Lochana, can you please go through this mail thread [1]. I haven't tried but can be useful. [1] http://apache-spark-user-list.1001560.n3.nabble.com/Packaging-a-spark-job-using-mav

Re: packaging spark run time with osgi service

2014-12-01 Thread Dinesh J. Weerakkody
Hi Lochana, can you please go through this mail thread [1]. I haven't tried but can be useful. [1] http://apache-spark-user-list.1001560.n3.nabble.com/Packaging-a-spark-job-using-maven-td5615.html On Mon, Dec 1, 2014 at 4:28 PM, Lochana Menikarachchi wrote: > I have spark core and mllib as dep