-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-1256][BUILD] Build distribution package with Spark 2.0 and Scala 2.11 #1251
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
Conversation
|
shouldn't we only change scala version to Spark 2.0.0? I think earlier spark releases have limited support for scala 2.11. |
9660a28 to
e3dde0e
Compare
|
@felixcheung I added description 99d91bf for the user who uses Spark version earlier than 2.0.0. And planning to add zeppelin-spark_2.10 installation link in download page too. |
|
Looks great to me! Thank you @minahlee |
|
I made some changes in maven profile activation rule in ff034c6 and updated description. Can someone review this? |
|
LGTM |
|
Merge if there is no further discussion |
…Scala 2.11 - build distribution package with Spark 2.0 and Scala 2.11 - change travis profile to use spark 2.0 instead of 2.0.0-preview by removing `-Dspark.version=2.0.0-preview` property - Change profile activation rule * current way of profile activation is not proper for supporting more than three scala version * -Pscala-2.11 activates both scala-2.10 and scala-2.11 profile without this patch Build [ZEPPELIN-1256](https://issues.apache.org/jira/browse/ZEPPELIN-1256) **Before** Run `mvn help:active-profiles -Pscala-2.11`: ``` Active Profiles for Project 'org.apache.zeppelin:zeppelin:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-interpreter:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-zengine:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-display_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-display_2.11:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark-dependencies_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - spark-2.0 (source: org.apache.zeppelin:zeppelin-spark-dependencies_2.11:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - exclude-sparkr (source: org.apache.zeppelin:zeppelin-spark_2.11:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-markdown:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-angular:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-shell:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-livy:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-hbase:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-postgresql:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-jdbc:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-file:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-flink_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-ignite_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-kylin:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-python:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-lens:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-cassandra_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-elasticsearch:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-alluxio:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-web:war:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-server:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-server:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-distribution:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-distribution:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) ``` **After** Run `mvn help:active-profiles -Dscala-2.11`: ``` Active Profiles for Project 'org.apache.zeppelin:zeppelin:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-interpreter:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-zengine:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-display_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-display_2.11:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark-dependencies_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - spark-2.0 (source: org.apache.zeppelin:zeppelin-spark-dependencies_2.11:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - exclude-sparkr (source: org.apache.zeppelin:zeppelin-spark_2.11:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-markdown:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-angular:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-shell:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-livy:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-hbase:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-postgresql:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-jdbc:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-file:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-flink_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-ignite_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-kylin:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-python:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-lens:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-cassandra_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-elasticsearch:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-alluxio:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-web:war:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-server:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-server:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-distribution:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-distribution:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) ``` * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes (for scala 2.11 build) Author: Mina Lee <minalee@apache.org> Closes #1251 from minahlee/ZEPPELIN-1256 and squashes the following commits: ff034c6 [Mina Lee] change scala-2.10 and scala-2.11 profile activation rule 99d91bf [Mina Lee] Update interpreter installation for the user who use Spark version <= 1.6.2 4ca3e7f [Mina Lee] Build distribution package with Spark 2.0 and Scala 2.11 (cherry picked from commit e8860cf) Signed-off-by: Mina Lee <minalee@apache.org> Conflicts: .travis.yml
…Scala 2.11 ### What is this PR for? - build distribution package with Spark 2.0 and Scala 2.11 - change travis profile to use spark 2.0 instead of 2.0.0-preview by removing `-Dspark.version=2.0.0-preview` property - Change profile activation rule * current way of profile activation is not proper for supporting more than three scala version * -Pscala-2.11 activates both scala-2.10 and scala-2.11 profile without this patch ### What type of PR is it? Build ### What is the Jira issue? [ZEPPELIN-1256](https://issues.apache.org/jira/browse/ZEPPELIN-1256) ### How should this be tested? **Before** Run `mvn help:active-profiles -Pscala-2.11`: ``` Active Profiles for Project 'org.apache.zeppelin:zeppelin:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-interpreter:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-zengine:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-display_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-display_2.11:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark-dependencies_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - spark-2.0 (source: org.apache.zeppelin:zeppelin-spark-dependencies_2.11:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - exclude-sparkr (source: org.apache.zeppelin:zeppelin-spark_2.11:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-markdown:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-angular:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-shell:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-livy:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-hbase:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-postgresql:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-jdbc:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-file:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-flink_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-ignite_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-kylin:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-python:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-lens:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-cassandra_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-elasticsearch:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-alluxio:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-web:war:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-server:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-server:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-distribution:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-distribution:0.7.0-SNAPSHOT) - scala-2.10 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) ``` **After** Run `mvn help:active-profiles -Dscala-2.11`: ``` Active Profiles for Project 'org.apache.zeppelin:zeppelin:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-interpreter:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-zengine:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-display_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-display_2.11:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark-dependencies_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - spark-2.0 (source: org.apache.zeppelin:zeppelin-spark-dependencies_2.11:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-spark_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - exclude-sparkr (source: org.apache.zeppelin:zeppelin-spark_2.11:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-markdown:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-angular:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-shell:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-livy:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-hbase:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-postgresql:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-jdbc:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-file:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-flink_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-ignite_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-kylin:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-python:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-lens:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-cassandra_2.11:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-elasticsearch:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-alluxio:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-web:war:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-server:jar:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-server:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) Active Profiles for Project 'org.apache.zeppelin:zeppelin-distribution:pom:0.7.0-SNAPSHOT': The following profiles are active: - scala-2.11 (source: org.apache.zeppelin:zeppelin-distribution:0.7.0-SNAPSHOT) - scala-2.11 (source: org.apache.zeppelin:zeppelin:0.7.0-SNAPSHOT) ``` ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes (for scala 2.11 build) Author: Mina Lee <minalee@apache.org> Closes apache#1251 from minahlee/ZEPPELIN-1256 and squashes the following commits: ff034c6 [Mina Lee] change scala-2.10 and scala-2.11 profile activation rule 99d91bf [Mina Lee] Update interpreter installation for the user who use Spark version <= 1.6.2 4ca3e7f [Mina Lee] Build distribution package with Spark 2.0 and Scala 2.11
What is this PR for?
-Dspark.version=2.0.0-previewpropertyWhat type of PR is it?
Build
What is the Jira issue?
ZEPPELIN-1256
How should this be tested?
Before
Run
mvn help:active-profiles -Pscala-2.11:After
Run
mvn help:active-profiles -Pscala-2.11:Questions: