Skip to content

Conversation

@jongyoul
Copy link
Member

@jongyoul jongyoul commented May 4, 2017

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

  • - 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

Copy link
Member

@felixcheung felixcheung left a 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) {
Copy link
Member

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?

Copy link
Member Author

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

@jongyoul jongyoul closed this May 5, 2017
@jongyoul jongyoul reopened this May 5, 2017
@jongyoul
Copy link
Member Author

jongyoul commented May 5, 2017

Will merge it sooner

Copy link
Member

@Leemoonsoo Leemoonsoo left a 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.
Copy link
Member

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.

Copy link
Member Author

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.

@jongyoul jongyoul closed this May 6, 2017
@jongyoul jongyoul reopened this May 6, 2017
@asfgit asfgit closed this in d9c4a5f May 6, 2017
michelemilesi pushed a commit to icteam-spa/zeppelin that referenced this pull request May 11, 2017
### 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants