Hi,

I'm trying to implement a Zeppelin interpreter in Scala. I have everything
ready in the following form:

package my.interpreter

object MyInterpreter {
  Interpreter.register("MyInterpreter", classOf[MyInterpreter].getName)
}

class MyInterpreter(property: Properties) extends Interpreter(property) {
  ...
}

When I register "my.interpreter.MyInterpreter$" (note the '$' due to
Scala's name mangling) in the zeppelin-site.xml file, I see the
corresponding interpreter name "MyInterpreter" in the choices in the web
interface when creating a new interpreter. However, when saving the
configuration the interpreter is not actually added. In the log files I
don't find any hint that would suggest that something went wrong. Is there
something special that needs to be considered when implementing
interpreters in Scala?

I've been using the current development version of zeppelin from github.

Any hints are very much appreciated.

Best regards,
Martin

Reply via email to