Skip to content
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

ZEPPELIN-3111. Refactor SparkInterpreter #2709

Closed
wants to merge 1 commit into from

Conversation

zjffdu
Copy link
Contributor

@zjffdu zjffdu commented Dec 19, 2017

What is this PR for?

This is for the refactoring of SparkInterpreter. See design doc. https://docs.google.com/document/d/1AfGg3aGXonDyri1jrP4MMFT4Y4j3wpN1t8kL-GAKSUc/edit?usp=sharing

What type of PR is it?

[Refactoring]

Todos

  • - Task

What is the Jira issue?

How should this be tested?

  • Unit test is added.

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@zjffdu zjffdu force-pushed the ZEPPELIN-3111 branch 13 times, most recently from 3b3de4f to 36478bc Compare December 21, 2017 11:44
@zjffdu zjffdu changed the title ZEPPEIN-3111. Refactor SparkInterpreter ZEPPELIN-3111. Refactor SparkInterpreter Dec 21, 2017
@zjffdu zjffdu force-pushed the ZEPPELIN-3111 branch 16 times, most recently from 0c5cc1b to 57a7212 Compare December 25, 2017 00:02
@zjffdu zjffdu force-pushed the ZEPPELIN-3111 branch 7 times, most recently from 0ca7933 to 92949ee Compare January 19, 2018 03:43
@zjffdu zjffdu force-pushed the ZEPPELIN-3111 branch 2 times, most recently from 686183f to 0f51484 Compare January 25, 2018 06:52
@zjffdu
Copy link
Contributor Author

zjffdu commented Jan 25, 2018

@Leemoonsoo @felixcheung @prabhjyotsingh @jongyoul Could you help review it ? Thanks

@Leemoonsoo
Copy link
Member

in the binary package, how spark/scala-2.11 and spark/scala-2.10 modules will be packaged?

@zjffdu
Copy link
Contributor Author

zjffdu commented Jan 31, 2018

@Leemoonsoo binary package is the same as before, spark/scala-2.11 and spark/scala-2.10 will be packaged together into spark-interpreter-0.8.0-SNAPSHOT.jar which doesn't contain scala library. scala library is in the spark distribution. So SparkInterpreter will load the correct scala version of SparkInterpreter (SparkScala211Interpreter or SparkScala210Interpreter) based the scala version in your spark distribution (depends on SPARK_HOME you set).

@zjffdu zjffdu force-pushed the ZEPPELIN-3111 branch 3 times, most recently from b4f7354 to 46754f8 Compare January 31, 2018 05:36
@Leemoonsoo
Copy link
Member

Thanks @zjffdu for explain. Looks good to me.

@zjffdu zjffdu force-pushed the ZEPPELIN-3111 branch 2 times, most recently from b97406f to ed9a35e Compare February 1, 2018 00:42
@zjffdu
Copy link
Contributor Author

zjffdu commented Feb 1, 2018

Thanks @Leemoonsoo , will merge it if no more comments

@asfgit asfgit closed this in d762b52 Feb 2, 2018
asfgit pushed a commit that referenced this pull request Feb 2, 2018
This is for the refactoring of SparkInterpreter. See design doc. https://docs.google.com/document/d/1AfGg3aGXonDyri1jrP4MMFT4Y4j3wpN1t8kL-GAKSUc/edit?usp=sharing

[Refactoring]

* [ ] - Task

* https://issues.apache.org/jira/browse/ZEPPELIN-3111

* Unit test is added.

* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes #2709 from zjffdu/ZEPPELIN-3111 and squashes the following commits:

aae4b09 [Jeff Zhang] ZEPPELIN-3111. Refactor SparkInterpreter

(cherry picked from commit d762b52)
Signed-off-by: Jeff Zhang <zjffdu@apache.org>
jwagun pushed a commit to jwagun/zeppelin that referenced this pull request Apr 23, 2018
### What is this PR for?
This is for the refactoring of SparkInterpreter. See design doc. https://docs.google.com/document/d/1AfGg3aGXonDyri1jrP4MMFT4Y4j3wpN1t8kL-GAKSUc/edit?usp=sharing

### What type of PR is it?
[Refactoring]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-3111

### How should this be tested?
* Unit test is added.

### 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: Jeff Zhang <zjffdu@apache.org>

Closes apache#2709 from zjffdu/ZEPPELIN-3111 and squashes the following commits:

aae4b09 [Jeff Zhang] ZEPPELIN-3111. Refactor SparkInterpreter
@alonshoham
Copy link

In this PR a change was made to bin/interpreter.sh script. In line 124 SPARK_APP_JAR="$(ls ${ZEPPELIN_HOME}/interpreter/spark/spark-interpreter*.jar)" used to be SPARK_APP_JAR="$(ls ${ZEPPELIN_HOME}/interpreter/spark/zeppelin-spark*.jar)"
This change was not updated in bin/interpreter.cmd, meaning that spark interpreter fails in windows.

@zjffdu
Copy link
Contributor Author

zjffdu commented Sep 27, 2018

Thanks @alonshoham feel free to create a PR for that.

@alonshoham
Copy link

alonshoham commented Oct 2, 2018 via email

@zjffdu
Copy link
Contributor Author

zjffdu commented Oct 3, 2018

@alonshoham Sorry I didn't notice you created the ticket, I have fixed via this commit, 8b2f4a7

Could you help verify it ?

@alonshoham
Copy link

alonshoham commented Oct 4, 2018 via email

@zjffdu
Copy link
Contributor Author

zjffdu commented Oct 4, 2018

Thanks @alonshoham Feel free to create a PR for that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants