Skip to content

[ZEPPELIN-759] Spark 2.0 support#1195

Closed
Leemoonsoo wants to merge 12 commits intoapache:masterfrom
Leemoonsoo:spark-20
Closed

[ZEPPELIN-759] Spark 2.0 support#1195
Leemoonsoo wants to merge 12 commits intoapache:masterfrom
Leemoonsoo:spark-20

Conversation

@Leemoonsoo
Copy link
Copy Markdown
Member

@Leemoonsoo Leemoonsoo commented Jul 16, 2016

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

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

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)

spark2

Questions:

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

@Leemoonsoo Leemoonsoo force-pushed the spark-20 branch 4 times, most recently from 706b130 to 4d64187 Compare July 17, 2016 19:51
@Leemoonsoo Leemoonsoo changed the title [WIP] [ZEPPELIN-759] Spark 2.0 support [ZEPPELIN-759] Spark 2.0 support Jul 18, 2016
@Leemoonsoo
Copy link
Copy Markdown
Member Author

Now CI is green. Review this please.

CI profile for spark 2.0 force spark version 2.0.0-preview instead of 2.0.0, because of spark 2.0.0 is not yet released. If this PR merges before spark 2.0.0 release, i'll create a separate issue to change 2.0.0-preview to 2.0.0.

@bzz
Copy link
Copy Markdown
Member

bzz commented Jul 19, 2016

Looks great to me

@Leemoonsoo
Copy link
Copy Markdown
Member Author

Leemoonsoo commented Jul 20, 2016

@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.

@echarles
Copy link
Copy Markdown
Member

Tested this with spark 2.0 and scala 2.11.
Spark 2.0 works well with scala, R and python.

@minahlee comment makes sense - we should ship the latest version.

@Leemoonsoo Leemoonsoo force-pushed the spark-20 branch 6 times, most recently from 4414709 to 9321888 Compare July 22, 2016 02:41
@minahlee
Copy link
Copy Markdown
Member

Changes looks good. Could you rebase to master?

@Leemoonsoo Leemoonsoo force-pushed the spark-20 branch 4 times, most recently from bd118c1 to ec67164 Compare July 22, 2016 17:50
@Leemoonsoo
Copy link
Copy Markdown
Member Author

CI is green. Merge it to master and branch-0.6 if there're no more discussions

@asfgit asfgit closed this in 8546666 Jul 24, 2016
asfgit pushed a commit that referenced this pull request Jul 24, 2016
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
```

![spark2](https://cloud.githubusercontent.com/assets/1540981/16771611/fe804038-4805-11e6-8447-3fa4258bb51d.gif)

* 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]>
asfgit pushed a commit that referenced this pull request Jul 24, 2016
…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
asfgit pushed a commit that referenced this pull request Jul 24, 2016
…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]>
PhilippGrulich pushed a commit to SWC-SENSE/zeppelin that referenced this pull request Aug 8, 2016
### 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)
![spark2](https://cloud.githubusercontent.com/assets/1540981/16771611/fe804038-4805-11e6-8447-3fa4258bb51d.gif)

### 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
PhilippGrulich pushed a commit to SWC-SENSE/zeppelin that referenced this pull request Aug 8, 2016
…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
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.

4 participants