I maintain a Zeppelin interpreter for the Apache Metron [1] project. The
interpreter [2] currently supports Zeppelin 0.7.3.

The interpreter does not work when run against 0.8.0.  Some of the
Interpreter methods have changed which causes 0.8.0 to be a breaking
change.  I updated the interpreter with the method signature changes so
that it works in 0.8.0.  Unfortunately, when trying to run it against
0.7.3, it also doesn't work.  Obviously because of the signature changes.

java.lang.NoSuchMethodError:
org.apache.metron.stellar.zeppelin.StellarInterpreter.getProperties()Ljava/util/Properties;
at
org.apache.metron.stellar.zeppelin.StellarInterpreter.open(StellarInterpreter.java:78)
at
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
at
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:491)


Does anyone have advice on how I can update the interpreter to be backwards
compatible with 0.7.3, but also support 0.8.0? I suppose I could use the
Reflection API to see which methods are available, but that seems a bit
yucky. Is there a recommended way to be able to maintain backwards
compatibility?

--
[1] http://metron.apache.org/
[2]
https://github.com/apache/metron/tree/master/metron-stellar/stellar-zeppelin

Reply via email to