Hi Andrea, spark-eclairjs looks really interesting. If you look at 'spark-dependencies/pom.xml' [1], you'll see all the dependency jar will be copied under 'interpreter/spark/dep'. And your interpreter will be installed under 'interpreter/spark-eclairjs' and 'bin/interpreter.sh' will load only 'interpreter/spark-eclairjs' when it is being used.
When you set it as 'compiled', then all dependencies will be copied into 'interpreter/spark-eclairjs' and that's why it goes okay. Hope this helps. Best, moon [1] https://github.com/apache/incubator-zeppelin/blob/master/spark-dependencies/pom.xml#L1016 On Sun, May 22, 2016 at 10:57 AM Andrea Santurbano <sant...@gmail.com> wrote: > Hi guys, > i'm writing an interpreter ( > https://github.com/conker84/incubator-zeppelin/tree/master/spark-eclairjs) > of EclairJS project (https://github.com/EclairJS/eclairjs-nashorn) i have > some problem in build phase: if i make spark dependencies "provided" these > aren't loaded, if these are set as "compiled" everything goes ok. > I tried to make my interpreter in spark interpreter leaving without changes > in the pom configuration (just adding what is necessary for my code...) and > everything is ok. > Can someone help me? > Thanks! > Andrea >