-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ZEPPELIN-1616. Interpreter open happens in jobRun #1596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@Leemoonsoo Let me know if this is correct, or I may miss something. |
|
@Leemoonsoo @zjffdu I placed the extra call to That being said, could you explain why this change is in itself necessary? IIRC, the |
|
Thanks @agoodm for the explanation. Actually this PR would call open method in
IIRC, you just require
|
|
Well to be precise, the other reason I made the call to |
|
|
|
@zjffdu Please see the most recent comments @Leemoonsoo and I made in #1534. With the vanilla python interpreter, I can indeed confirm that the call to In addition to what @Leemoonsoo had already shown from the log file. |
|
@agoodm @Leemoonsoo I found the issue, this is due that to |
|
Think about it more, I don't have strong preference on this PR. As name |
|
I think cleaner way to remove Regarding create all interpreters once in the same session, I would say Interpreter.getInterpreterInTheSameSessionByClassName() is a sort of API that manages dependencies of Interpreter. The api returns LazyInterpreter of another interpreter in the same group. So, interpreter supposed to simply get reference to the other interpreter and use it without explicitly defining dependency. |
|
@Leemoonsoo I think putting |
|
close this |
What is this PR for?
Not sure why we put interpreter open in jobRun, that means the thrift service method open is never used. I think open method in remote interpreter process should be called when RemoteInterpreter call open method in client side.
What type of PR is it?
[Improvement]
Todos
What is the Jira issue?
How should this be tested?
Outline the steps to test the PR here.
Screenshots (if appropriate)
Questions: