mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fix style
This commit is contained in:
parent
1dc4409464
commit
bfcdf347dd
2 changed files with 10 additions and 3 deletions
|
|
@ -927,10 +927,11 @@ public class InterpreterFactory implements InterpreterGroupFactory {
|
|||
|
||||
updatePropertiesFromRegisteredInterpreter(property, className);
|
||||
|
||||
LazyOpenInterpreter intp = new LazyOpenInterpreter(new RemoteInterpreter(
|
||||
RemoteInterpreter remoteInterpreter = new RemoteInterpreter(
|
||||
property, noteId, className, conf.getInterpreterRemoteRunnerPath(),
|
||||
interpreterPath, localRepoPath, connectTimeout,
|
||||
maxPoolSize, remoteInterpreterProcessListener, appEventListener);
|
||||
maxPoolSize, remoteInterpreterProcessListener, appEventListener)
|
||||
|
||||
remoteInterpreter.setEnv(env);
|
||||
LazyOpenInterpreter intp = new LazyOpenInterpreter(remoteInterpreter);
|
||||
return intp;
|
||||
|
|
|
|||
|
|
@ -153,7 +153,13 @@ public class Notebook implements NoteEventListener {
|
|||
*/
|
||||
public Note createNote(List<String> interpreterIds) throws IOException {
|
||||
NoteInterpreterLoader intpLoader = new NoteInterpreterLoader(replFactory);
|
||||
Note note = new Note(notebookRepo, intpLoader, jobListenerFactory, notebookIndex, credentials, this);
|
||||
Note note = new Note(
|
||||
notebookRepo,
|
||||
intpLoader,
|
||||
jobListenerFactory,
|
||||
notebookIndex,
|
||||
credentials,
|
||||
this);
|
||||
intpLoader.setNoteId(note.id());
|
||||
synchronized (notes) {
|
||||
notes.put(note.id(), note);
|
||||
|
|
|
|||
Loading…
Reference in a new issue