-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-605] Add support for Scala 2.11 #747
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
Closed
Closed
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
82eaefa
[ZEPPELIN-605] Add support for Scala 2.11
lresende 175be7a
[ZEPPELIN-605] Add Scala 2.11 build profile
lresende a73b68d
[ZEPPELIN-605] Enable Scala 2.11 REPL support for Spark Interpreter
lresende 5c47d9a
[ZEPPELIN-605] Rewrite Spark interpreter based on Scala 2.11 support
lresende c88348d
Initial scala-210, 211 support in the single binary
Leemoonsoo b9e0e1e
scala 2.11 support for spark interpreter
Leemoonsoo 112ae7d
Fix some reflections
Leemoonsoo 222e4e7
Fix reflection on creating SparkCommandLine
Leemoonsoo dfe6e83
Fix reflection around HttpServer and createTempDir
Leemoonsoo c999a2d
fix style
Leemoonsoo 2ec51a3
Fix reflection
Leemoonsoo 9424769
style
Leemoonsoo 6b9ff1d
SparkContext sharing seems not working in scala 2.11, disable the test
Leemoonsoo 6d3e7e2
Update FlinkInterpreter
Leemoonsoo fc9e8a0
Update ignite interpreter
Leemoonsoo 9f5d2a2
Remove unused methods
Leemoonsoo 74d8a62
Force close
lresende 736d055
make binary built with scala 2.11 work with spark_2.10 binary
Leemoonsoo e068593
Fix pom.xml merge conflict
lresende a3d0525
Fix new code to support both scala versions
lresende 6e4f7b0
Force scala-library dependency version based on scala
lresende 98790a6
Remove obsolete/commented config
lresende cbf84c7
Force Scala 2.11 profile to be called
lresende 9194218
initialize imain
Leemoonsoo de4fc10
Minor change to force build
lresende dd79443
Minor formatting change to force build
lresende 4e2237a
Update readme to use profile to build scala 2.11 and match CI
lresende 6e5e5ad
Refactor utility methods to helper class
lresende 87f46de
Force build
lresende c208e69
Fix class reference
lresende b9bdf86
Properly invoke createTempDir from spark utils
lresende File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there might still be a need for interpreter individually requiring different version of Scala? I think for now it might make sense to have separate
flink.scala,ignite.scalaand so onThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be the case for having interpreter specific scala versions ? Now it seems that everything work with latest scala 2.10. I am more towards simplifying the build now, and making it more complex when actually needed. Do we have a concrete case where this is needed now ?
If we are talking here about actually scala 2.10 versus 2.11, I plan to handle that by profiles/modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was referring to
flink.scala.binary.version,ignite.scala.binary.version.Maybe Ignite doesn't support Scala 2.11? https://github.com/apache/ignite/blob/master/pom.xml#L453