[ZEPPELIN-1256][BUILD] Build distribution package with Spark 2.0 and Scala 2.11#1251
Closed
minahlee wants to merge 3 commits intoapache:masterfrom
Closed
[ZEPPELIN-1256][BUILD] Build distribution package with Spark 2.0 and Scala 2.11#1251minahlee wants to merge 3 commits intoapache:masterfrom
minahlee wants to merge 3 commits intoapache:masterfrom
Conversation
Member
|
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
Member
Author
|
@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. |
Member
|
Looks great to me! Thank you @minahlee |
Member
Author
|
I made some changes in maven profile activation rule in ff034c6 and updated description. Can someone review this? |
Contributor
|
LGTM |
Member
Author
|
Merge if there is no further discussion |
asfgit
pushed a commit
that referenced
this pull request
Aug 5, 2016
…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
PhilippGrulich
pushed a commit
to SWC-SENSE/zeppelin
that referenced
this pull request
Aug 8, 2016
…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
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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: