[ZEPPELIN-1544]upgrade spark version to 2.0.1 as profile spark-2.0#1511
[ZEPPELIN-1544]upgrade spark version to 2.0.1 as profile spark-2.0#1511LantaoJin wants to merge 2 commits intoapache:masterfrom
Conversation
|
LGTM. Merging if there's no more discussion. |
| //Only one of py4j-0.9-src.zip and py4j-0.8.2.1-src.zip should exist | ||
| String[] pythonLibs = new String[]{"pyspark.zip", "py4j-0.9-src.zip", "py4j-0.8.2.1-src.zip", | ||
| "py4j-0.10.1-src.zip"}; | ||
| "py4j-0.10.3-src.zip"}; |
There was a problem hiding this comment.
Shouldn't "py4j-0.10.1-src.zip" need to be in the array for in case of spark 2.0.0?
There was a problem hiding this comment.
You're right. My mistake. We need to keep old py4j for backward compatibility. I've checked that 2.0.0 has python/lib/py4j-0.10.1-src.zip
There was a problem hiding this comment.
You means that add "py4j-0.10.3-src.zip" after "py4j-0.10.1-src.zip"? Can it confuse the logic below?
// Distribute two libraries(pyspark.zip and py4j-*.zip) to workers
// when spark version is less than or equal to 1.4.1
if (pythonLibUris.size() == 2) {
If this semantics is the same as before adding. I will follow your comment to modify.
|
@LantaoJin Can you edit your description following the guide? |
|
Thanks @LantaoJin for the contribution. LGTM and merge if there're no more discussions. |
### What is this PR for? A few sentences describing the overall goals of the pull request's commits. First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html ### What type of PR is it? [Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring] ### Todos * [ ] - Task ### What is the Jira issue? * Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/ * Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. [ZEPPELIN-533] ### How should this be tested? Outline the steps to test the PR here. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? * Is there breaking changes for older versions? * Does this needs documentation? Author: LantaoJin <[email protected]> Closes apache#1511 from LantaoJin/master and squashes the following commits: 671cd68 [LantaoJin] keep old py4j for backward compatibility 3bd84cc [LantaoJin] [ZEPPELIN-1544]upgrade spark version to 2.0.1 as profile spark-2.0
### What is this PR for? A few sentences describing the overall goals of the pull request's commits. First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html ### What type of PR is it? [Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring] ### Todos * [ ] - Task ### What is the Jira issue? * Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/ * Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. [ZEPPELIN-533] ### How should this be tested? Outline the steps to test the PR here. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? * Is there breaking changes for older versions? * Does this needs documentation? Author: LantaoJin <[email protected]> Closes apache#1511 from LantaoJin/master and squashes the following commits: 671cd68 [LantaoJin] keep old py4j for backward compatibility 3bd84cc [LantaoJin] [ZEPPELIN-1544]upgrade spark version to 2.0.1 as profile spark-2.0
What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html
What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
Todos
What is the Jira issue?
How should this be tested?
Outline the steps to test the PR here.
Screenshots (if appropriate)
Questions: