-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[MINOR] Move remoteinterpreter into zengine #2320
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
[MINOR] Move remoteinterpreter into zengine #2320
Conversation
Removed unnecessary classes imported
felixcheung
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one comment, LGTM
| Properties p = new Properties(); | ||
| p.put("p1", "v1"); | ||
| MockInterpreterA intp = new MockInterpreterA(p); | ||
| Interpreter intp = new Interpreter(p) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of duplicating this would it be less error prone to have a common interpreter test java file to define this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I agree. I'll change it
|
Will merge it sooner |
Leemoonsoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but can you take care of a comment i left?
| import java.util.Properties; | ||
|
|
||
| /** | ||
| * Created by jl on 06/05/2017. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Author tag is not too much encouraged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's my mistake. I'll remove it.
### What is this PR for? RemoteInterpreter is only used in the server side then zeppelin-interpreter doesn't have to include this class. Moving this class helps to reduce interpreter binary size and change RemoteInterpreter without adding more dependencies if we want ### What type of PR is it? [Refactoring] ### Todos * [x] - Move RemoteInterpreter and related files out of zeppelin-interpreter module ### What is the Jira issue? N/A ### How should this be tested? N/A ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jongyoul Lee <[email protected]> Closes apache#2320 from jongyoul/minor/move-remoteinterpreter-into-zengine and squashes the following commits: 8097991 [Jongyoul Lee] Removed author tag e1425df [Jongyoul Lee] Adopted DummyInterpreter 99c0932 [Jongyoul Lee] Made DummyInterpreter 5ac8dfb [Jongyoul Lee] Moved RemoteInterpreterServer to zeppelin-interpreter 0a881c1 [Jongyoul Lee] Removed unused package imported Removed unnecessary classes imported b7e0b94 [Jongyoul Lee] moved some files related remote interpreter and fix some minor things 7e87215 [Jongyoul Lee] move some files of remote packages from zeppelin-interpreter to zeppelin-zengine
What is this PR for?
RemoteInterpreter is only used in the server side then zeppelin-interpreter doesn't have to include this class. Moving this class helps to reduce interpreter binary size and change RemoteInterpreter without adding more dependencies if we want
What type of PR is it?
[Refactoring]
Todos
What is the Jira issue?
N/A
How should this be tested?
N/A
Screenshots (if appropriate)
Questions: