Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

reminia
Copy link

@reminia reminia commented Jul 7, 2017

  • 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

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:

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

*  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
@Leemoonsoo
Copy link
Member

Thanks @reminia for the fix. LGTM

\cc @jongyoul @zjffdu

Copy link
Member

@felixcheung felixcheung left a 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?

@reminia
Copy link
Author

reminia commented Jul 8, 2017

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

@zjffdu
Copy link
Contributor

zjffdu commented Jul 8, 2017

We need do the same thing for spark-dependencies/pom.xml

@reminia
Copy link
Author

reminia commented Jul 10, 2017

@zjffdu remove scala version in spark-dependencies.

@zjffdu
Copy link
Contributor

zjffdu commented Jul 10, 2017

LGTM

@Leemoonsoo
Copy link
Member

@reminia Could you try restart failed build jobs and see if it goes green?
https://travis-ci.org/reminia/zeppelin/builds/251862855

@reminia
Copy link
Author

reminia commented Jul 11, 2017

@Leemoonsoo restart the failed jobs, CI looks good now.

@Leemoonsoo
Copy link
Member

Thanks @reminia for the fix. Merge to master and branch-0.7

@asfgit asfgit closed this in 3f9ef6e Jul 13, 2017
asfgit pushed a commit that referenced this pull request Jul 13, 2017
*  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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants