[ZEPPELIN-759] Spark 2.0 support#1195
Conversation
706b130 to
4d64187
Compare
|
Now CI is green. Review this please. CI profile for spark 2.0 force spark version |
|
Looks great to me |
|
@minahlee I was trying to make 'zeppelin-spark' interpreter support spark 2.0 in this PR which includes Sparkr support. If there're user demands, spark 2.0 support in 'zeppelin-zrinterpreter' can be addressed in separate issue. |
|
After I look close the pom files, I don't see clear reason why spark.version is specified in scala-2.11 and scala-2.10 profiles. And I think it's always good to ship default spark version as the latest one. Can we also update below lines? |
|
Tested this with spark 2.0 and scala 2.11. @minahlee comment makes sense - we should ship the latest version. |
4414709 to
9321888
Compare
|
Changes looks good. Could you rebase to master? |
bd118c1 to
ec67164
Compare
|
CI is green. Merge it to master and branch-0.6 if there're no more discussions |
This PR implement spark 2.0 support based on #747. This PR has approach from #980 which is reimplementing code in scala. You can try build this branch ``` mvn clean package -Dscala-2.11 -Pspark-2.0 -Dspark.version=2.0.0-preview -Ppyspark -Psparkr -Pyarn -Phadoop-2.6 -DskipTests ``` Improvements * [x] - Spark 2.0 support * [x] - Rebase after #747 merge * [x] - Update LICENSE file * [x] - Update related document (build) https://issues.apache.org/jira/browse/ZEPPELIN-759 Build and try ``` mvn clean package -Dscala-2.11 -Pspark-2.0 -Dspark.version=2.0.0-preview -Ppyspark -Psparkr -Pyarn -Phadoop-2.6 -DskipTests ```  * Does the licenses files need update? yes * Is there breaking changes for older versions? no * Does this needs documentation? yes Author: Lee moon soo <[email protected]> Closes #1195 from Leemoonsoo/spark-20 and squashes the following commits: d78b322 [Lee moon soo] trigger ci 8017e8b [Lee moon soo] Remove unnecessary spark.version property e3141bd [Lee moon soo] restart sparkcluster before sparkr test 1493b2c [Lee moon soo] print spark standalone cluster log when ci test fails a208cd0 [Lee moon soo] Debug sparkRTest 31369c6 [Lee moon soo] Update license 293896a [Lee moon soo] Update build instruction 862ff6c [Lee moon soo] Make ZeppelinSparkClusterTest.java work with spark 2 839912a [Lee moon soo] Update SPARK_HOME directory detection pattern for 2.0.0-preview in the test 3413707 [Lee moon soo] Update .travis.yml 02bcd5d [Lee moon soo] Update SparkSqlInterpreterTest f06a2fa [Lee moon soo] Spark 2.0 support (cherry picked from commit 8546666) Signed-off-by: Lee moon soo <[email protected]>
…ala 211 artifacts ### What is this PR for? - Update publish_release.sh to publish scala 2.10 and scala 2.11 artifacts to maven repository. - Set build spark version to 2.0 This PR supposed to work once #1186 and #1195 is merged ### What type of PR is it? Improvement ### What is the Jira issue? [ZEPPELIN-1180](https://issues.apache.org/jira/browse/ZEPPELIN-1180) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Mina Lee <[email protected]> Closes #1209 from minahlee/ZEPPELIN-1180 and squashes the following commits: 40e5718 [Mina Lee] Use underscore as word separator in file name for consistency 0a91932 [Mina Lee] Include all module for scala 2.11 artifact build c1d6439 [Mina Lee] publish 2.11 artifact to maven a7918f0 [Mina Lee] Fix mod from 755 to 644 bca1af1 [Mina Lee] Fix indentation
…ala 211 artifacts ### What is this PR for? - Update publish_release.sh to publish scala 2.10 and scala 2.11 artifacts to maven repository. - Set build spark version to 2.0 This PR supposed to work once #1186 and #1195 is merged ### What type of PR is it? Improvement ### What is the Jira issue? [ZEPPELIN-1180](https://issues.apache.org/jira/browse/ZEPPELIN-1180) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Mina Lee <[email protected]> Closes #1209 from minahlee/ZEPPELIN-1180 and squashes the following commits: 40e5718 [Mina Lee] Use underscore as word separator in file name for consistency 0a91932 [Mina Lee] Include all module for scala 2.11 artifact build c1d6439 [Mina Lee] publish 2.11 artifact to maven a7918f0 [Mina Lee] Fix mod from 755 to 644 bca1af1 [Mina Lee] Fix indentation (cherry picked from commit 1077921) Signed-off-by: Mina Lee <[email protected]>
### What is this PR for? This PR implement spark 2.0 support based on apache#747. This PR has approach from apache#980 which is reimplementing code in scala. You can try build this branch ``` mvn clean package -Dscala-2.11 -Pspark-2.0 -Dspark.version=2.0.0-preview -Ppyspark -Psparkr -Pyarn -Phadoop-2.6 -DskipTests ``` ### What type of PR is it? Improvements ### Todos * [x] - Spark 2.0 support * [x] - Rebase after apache#747 merge * [x] - Update LICENSE file * [x] - Update related document (build) ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-759 ### How should this be tested? Build and try ``` mvn clean package -Dscala-2.11 -Pspark-2.0 -Dspark.version=2.0.0-preview -Ppyspark -Psparkr -Pyarn -Phadoop-2.6 -DskipTests ``` ### Screenshots (if appropriate)  ### Questions: * Does the licenses files need update? yes * Is there breaking changes for older versions? no * Does this needs documentation? yes Author: Lee moon soo <[email protected]> Closes apache#1195 from Leemoonsoo/spark-20 and squashes the following commits: d78b322 [Lee moon soo] trigger ci 8017e8b [Lee moon soo] Remove unnecessary spark.version property e3141bd [Lee moon soo] restart sparkcluster before sparkr test 1493b2c [Lee moon soo] print spark standalone cluster log when ci test fails a208cd0 [Lee moon soo] Debug sparkRTest 31369c6 [Lee moon soo] Update license 293896a [Lee moon soo] Update build instruction 862ff6c [Lee moon soo] Make ZeppelinSparkClusterTest.java work with spark 2 839912a [Lee moon soo] Update SPARK_HOME directory detection pattern for 2.0.0-preview in the test 3413707 [Lee moon soo] Update .travis.yml 02bcd5d [Lee moon soo] Update SparkSqlInterpreterTest f06a2fa [Lee moon soo] Spark 2.0 support
…ala 211 artifacts ### What is this PR for? - Update publish_release.sh to publish scala 2.10 and scala 2.11 artifacts to maven repository. - Set build spark version to 2.0 This PR supposed to work once apache#1186 and apache#1195 is merged ### What type of PR is it? Improvement ### What is the Jira issue? [ZEPPELIN-1180](https://issues.apache.org/jira/browse/ZEPPELIN-1180) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Mina Lee <[email protected]> Closes apache#1209 from minahlee/ZEPPELIN-1180 and squashes the following commits: 40e5718 [Mina Lee] Use underscore as word separator in file name for consistency 0a91932 [Mina Lee] Include all module for scala 2.11 artifact build c1d6439 [Mina Lee] publish 2.11 artifact to maven a7918f0 [Mina Lee] Fix mod from 755 to 644 bca1af1 [Mina Lee] Fix indentation
What is this PR for?
This PR implement spark 2.0 support based on #747.
This PR has approach from #980 which is reimplementing code in scala.
You can try build this branch
What type of PR is it?
Improvements
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-759
How should this be tested?
Build and try
Screenshots (if appropriate)
Questions: