Sparklin 0.2 is released! Fast new REPL engine, sy...
# datascience
v
Sparklin 0.2 is released! Fast new REPL engine, syntax highlight, customizable prompt and other features. Tested in production on cluster with CentOS Linux / Spark 1.6.3 / Hadoop 2.7. Experimental Kotlin support for Zeppelin is also added (without Spark right now). https://github.com/khud/sparklin
🎉 2
👏 2
h
Is there a way to declare custom dependencies when running kshell?
v
Of course, you can add jars to
JARS
variable in
bin/kshell.sh
. The same is for Spark runners.
h
I’ve just tried but it seems that the classloader of the kshell process and the repl are not the same:
Copy code
JARS=${KOTLIN_COMPILER}:${KOTLIN_STDLIB}:${KOTLIN_REFLECT}:${KOTLIN_SCRIPT_RUNTIME}:${KSHELL_CONSOLE_JLINE3}:${KSHELL_REPL_API}:/Users/brandl/.m2/repository/de/mpicbg/scicomp/krangl/0.10-SNAPSHOT/krangl-0.10-SNAPSHOT.jar
Copy code
sparklin]$ bin/kshell.sh 
[1] import krangl.*
error: unresolved reference: krangl
import krangl.*
v
Thanks, I will try. Give me a minute
Yes, the problem exists. But only in the case of kshell, spark shell works fine. I will try to fix it just now.
Fixed in master. You can try
b
Love the name
😃 1