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-2648] Fix spark module build problem with scala-2.10 profile #2470
Conversation
* remove scala version in spark2 profile , we should compose scala profile and spark profile to address scala and spark version * address scalaVersion evidently in maven-scala-plugin
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.
LGTM
doesn't .travis.yml and doc on build need to change?
@felixcheung The initial builds assume scala profile and spark profile together do the right version thing. This PR just fix the bug to ensure it works. |
We need do the same thing for spark-dependencies/pom.xml |
@zjffdu remove scala version in spark-dependencies. |
LGTM |
@reminia Could you try restart failed build jobs and see if it goes green? |
@Leemoonsoo restart the failed jobs, CI looks good now. |
Thanks @reminia for the fix. Merge to master and branch-0.7 |
* remove scala version in spark2 profile , we should compose scala profile and spark profile to address scala and spark version * address scalaVersion evidently in maven-scala-plugin details by ZEPPELIN-2648 [Bug Fix] None * https://issues.apache.org/jira/browse/ZEPPELIN-2648 execute below command and check whether the zeppelin-spark artifact is build based on specified scala and spark version. mvn clean package -Pscala-2.10 -Pspark-2.1 mvn clean package -Pscala-2.11 -Pspark-2.1 * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: lichenyang <lichenyang@cmss.chinamobile.com> Closes #2470 from reminia/zeppelin-2648 and squashes the following commits: 31c7aa5 [lichenyang] remove scala version in the spark-dependencies pom fb57494 [lichenyang] [ZEPPELIN-2648] Fix spark module build problem with scala-2.10 profile (cherry picked from commit 3f9ef6e) Signed-off-by: Lee moon soo <moon@apache.org>
What is this PR for?
details by ZEPPELIN-2648
What type of PR is it?
[Bug Fix]
Todos
None
What is the Jira issue?
How should this be tested?
execute below command and check whether the zeppelin-spark artifact is build based on specified scala and spark version.
mvn clean package -Pscala-2.10 -Pspark-2.1
mvn clean package -Pscala-2.11 -Pspark-2.1
Screenshots (if appropriate)
Questions: