Search in sources :

Example 1 with InterpreterLaunchContext

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;
}
Also used : InterpreterLaunchContext(org.apache.zeppelin.interpreter.launcher.InterpreterLaunchContext) RemoteInterpreterProcess(org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess) InterpreterLauncher(org.apache.zeppelin.interpreter.launcher.InterpreterLauncher)

Aggregations

InterpreterLaunchContext (org.apache.zeppelin.interpreter.launcher.InterpreterLaunchContext)1 InterpreterLauncher (org.apache.zeppelin.interpreter.launcher.InterpreterLauncher)1 RemoteInterpreterProcess (org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess)1