mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Removed DevInterpreter from zeppelin-zengine
This commit is contained in:
parent
08d7c4ef70
commit
28cf7a60d6
2 changed files with 1 additions and 27 deletions
|
|
@ -13,6 +13,7 @@
|
|||
<groupId>org.apache.zeppelin</groupId>
|
||||
<artifactId>helium-dev</artifactId>
|
||||
<version>0.7.0-SNAPSHOT</version>
|
||||
<name>Zeppelin: Helium development interpreter</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ import org.apache.zeppelin.display.AngularObjectRegistry;
|
|||
import org.apache.zeppelin.display.AngularObjectRegistryListener;
|
||||
import org.apache.zeppelin.helium.ApplicationEventListener;
|
||||
import org.apache.zeppelin.interpreter.Interpreter.RegisteredInterpreter;
|
||||
import org.apache.zeppelin.interpreter.dev.DevInterpreter;
|
||||
import org.apache.zeppelin.interpreter.dev.ZeppelinDevServer;
|
||||
import org.apache.zeppelin.interpreter.remote.RemoteAngularObjectRegistry;
|
||||
import org.apache.zeppelin.interpreter.remote.RemoteInterpreter;
|
||||
import org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcessListener;
|
||||
|
|
@ -1348,11 +1346,6 @@ public class InterpreterFactory implements InterpreterGroupFactory {
|
|||
}
|
||||
}
|
||||
|
||||
// dev interpreter
|
||||
if (DevInterpreter.isInterpreterName(replName)) {
|
||||
return getDevInterpreter();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
@ -1429,24 +1422,4 @@ public class InterpreterFactory implements InterpreterGroupFactory {
|
|||
}
|
||||
return editor;
|
||||
}
|
||||
|
||||
private Interpreter getDevInterpreter() {
|
||||
if (devInterpreter == null) {
|
||||
InterpreterOption option = new InterpreterOption();
|
||||
option.setRemote(true);
|
||||
|
||||
InterpreterGroup interpreterGroup = createInterpreterGroup("dev", option);
|
||||
|
||||
devInterpreter = connectToRemoteRepl("dev", DevInterpreter.class.getName(), "localhost",
|
||||
ZeppelinDevServer.DEFAULT_TEST_INTERPRETER_PORT, new Properties(), "dev", "anonymous",
|
||||
false);
|
||||
|
||||
LinkedList<Interpreter> intpList = new LinkedList<>();
|
||||
intpList.add(devInterpreter);
|
||||
interpreterGroup.put("dev", intpList);
|
||||
|
||||
devInterpreter.setInterpreterGroup(interpreterGroup);
|
||||
}
|
||||
return devInterpreter;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue