use of org.apache.zeppelin.interpreter.launcher.InterpreterLaunchContext in project zeppelin by apache.
the class InterpreterSetting method createInterpreterProcess.
synchronized RemoteInterpreterProcess createInterpreterProcess(String interpreterGroupId, String userName, Properties properties) throws IOException {
InterpreterLauncher launcher = createLauncher(properties);
InterpreterLaunchContext launchContext = new InterpreterLaunchContext(properties, option, interpreterRunner, userName, interpreterGroupId, id, group, name, interpreterEventServer.getPort(), interpreterEventServer.getHost());
RemoteInterpreterProcess process = (RemoteInterpreterProcess) launcher.launch(launchContext);
recoveryStorage.onInterpreterClientStart(process);
return process;
}
Aggregations