Commit graph

20 commits

Author SHA1 Message Date
AhyoungRyu
540ceb87d8 [ZEPPELIN-2373] Remove -Pyarn build profile
### What is this PR for?
Currently users who build Zeppelin from source need to include `-Pyarn` build profile to enable Yarn for embedded local Spark. This PR is to remove `-Pyarn` and make Yarn related libraries can be automatically downloaded without the profile during build time.

### What type of PR is it?
just removed Yarn build profile in `spark-dependencies/pom.xml`

### What is the Jira issue?
[ZEPPELIN-2373](https://issues.apache.org/jira/browse/ZEPPELIN-2373)

### How should this be tested?
1. apply this patch and build Zeppelin with below command
```
mvn clean package -DskipTests -pl 'zeppelin-server, spark-dependencies, spark' --am
```

2. check `spark-yarn_${scala.binary.version}.jar` is downloaded(or included) during build time
```
[INFO] Including org.apache.spark:spark-yarn_2.10🫙2.1.0 in the shaded jar.
```
In current master, the above line won't be shown if you don't use `-Pyarn` build profile. But with this patch, it will be shown without the profile.

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: AhyoungRyu <fbdkdud93@hanmail.net>

Closes #2232 from AhyoungRyu/ZEPPELIN-2373/includeYarnByDefault and squashes the following commits:

59eb2b5 [AhyoungRyu] Remove -Pyarn build profile
2017-04-10 22:56:11 +09:00
AhyoungRyu
b62e2e01bb [ZEPPELIN-2341] Remove -Psparkr build profile
### What is this PR for?
Currently users who build Zeppelin from source need to include `-Psparkr` to use `%r` with embedded local Spark. But it's quite inconvenient to write this build profile every time we build i think. So I removed `-Psparkr` and make `r` related libraries automatically downloaded when we build Zeppelin like I did #2213

### What type of PR is it?
Improvement

### Todos
* [x] - remove the rest of `-Psparkr` build profile in `dev/create_release.sh`, `dev/publish_release.sh`, and `docs/install/build.md` after #2213 merged

### What is the Jira issue?
[ZEPPELIN-2341](https://issues.apache.org/jira/browse/ZEPPELIN-2341)

### How should this be tested?
1. Apply this patch
2. Build source with below command
```
mvn clean package -DskipTests -pl 'zeppelin-interpreter, zeppelin-zengine, zeppelin-server, zeppelin-display, spark, spark-dependencies'

```
Aftr this step, there will be `R` dir under `ZEPPELIN_HOME/interpreter/spark`. Before this PR, only `dep` dir and `zeppelin-spark_2.10-0.8.0-SNAPSHOT.jar` is generated without `-Psparkr` build profile.

4. Restart Zeppelin. To make sure, run R tutorial note under `Zeppelin Tutorial` folder

It should be run successfully without any error

### Screenshots (if appropriate)
If we build without `-Psparkr`
- before : R related properties are not activated by default in Spark interpreter
![screen shot 2017-04-03 at 4 31 49 pm](https://cloud.githubusercontent.com/assets/10060731/24599560/b952e414-188b-11e7-80db-ac649c869c02.png)

 - after
![after](https://cloud.githubusercontent.com/assets/10060731/24599567/bc513a94-188b-11e7-9e93-7abca3428279.png)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: AhyoungRyu <fbdkdud93@hanmail.net>
Author: Ahyoung Ryu <ahyoungryu@apache.org>

Closes #2215 from AhyoungRyu/ZEPPELIN-2341/includeSparkRByDefault and squashes the following commits:

8db18cc [AhyoungRyu] Remove the rest of '-Psparkr' in docs & sh files
f891fd4 [Ahyoung Ryu] Merge branch 'master' into ZEPPELIN-2341/includeSparkRByDefault
445be3e [AhyoungRyu] Add SPARKR env to check each test case need to download r dep or not
67af02a [AhyoungRyu] Remove -PsparkR in travis file
a00466c [AhyoungRyu] Remove sparkr build profile in pom files
2017-04-07 00:55:26 +09:00
AhyoungRyu
c87fa53a3a [ZEPPELIN-2298] Remove -Ppyspark build profile
### What is this PR for?
Currently users who build Zeppelin from source need to include `-Ppyspark` to use `%pyspark` with embedded local Spark. But it's quite inconvenient to write this build profile every time we build i think. So I removed `-Ppyspark` and make pyspark related libraries automatically downloaded when we build Zeppelin.

### What type of PR is it?
Improvement

### Todos
* [x] - remove the rest of `-Ppyspark` build profile in `dev/create_release.sh`, `dev/publish_release.sh`, and `docs/install/build.md` after getting feedback

### What is the Jira issue?
[ZEPPELIN-2298](https://issues.apache.org/jira/browse/ZEPPELIN-2298)

### How should this be tested?
1. Apply this patch
2. Build source with below command
```
mvn clean package -DskipTests -pl 'zeppelin-interpreter, zeppelin-zengine, zeppelin-server, zeppelin-display, spark, spark-dependencies'

```
Aftr this step, there will be `pyspark` dir under `ZEPPELIN_HOME/interpreter/spark`. Before this PR, only `dep` dir and `zeppelin-spark_2.10-0.8.0-SNAPSHOT.jar` is generated without `-Ppyspark` build profile.

4. Restart Zeppelin. To make sure, run any python code e.g.
```
%pyspark
print("Hello "+z.input("name"))
```
It should be run successfully without any error

### Screenshots (if appropriate)
 tl;dr Without `-Ppyspark` profile
 - Before
<img width="856" alt="screen shot 2017-04-02 at 2 50 57 pm" src="https://cloud.githubusercontent.com/assets/10060731/24584778/0e8ec6b0-17b4-11e7-9f0d-f2599fd7bd63.png">

 - After
<img width="893" alt="screen shot 2017-04-02 at 2 28 21 pm" src="https://cloud.githubusercontent.com/assets/10060731/24584779/10b7ed68-17b4-11e7-90d4-aa95eb9bba2d.png">

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

I want to include `SparkR` by default(= remove `-PsparkR` build profile) like this as a next step. I want to ask how Zeppelin community think about this.

Author: AhyoungRyu <fbdkdud93@hanmail.net>

Closes #2213 from AhyoungRyu/ZEPPELIN-2298/includePysparkByDefault and squashes the following commits:

f7bcf06 [AhyoungRyu] Remove -Ppyspark in virtual_machine.md
458ac02 [AhyoungRyu] Remove the rest of -Ppyspark in blind side of Zeppelin :)
cee1e87 [AhyoungRyu] Change py4j.version -> python.py4j.version
ce43158 [AhyoungRyu] Change py4j.version -> spark.py4j.version
fa4fb36 [AhyoungRyu] Remove the rest of -Ppyspark
30aac81 [AhyoungRyu] Remove -Ppyspark build flag
2017-04-04 15:10:13 +09:00
Mina Lee
53f8fa167b [BUILD] Remove docker build from release script
### What is this PR for?
Removing docker build and push from release script.
Docker managed by community will be supported sooner or later through https://hub.docker.com/r/apache/ or official docker hub repository, and either way doesn't need push from release script.

### What type of PR is it?
Build

### What is the Jira issue?

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <minalee@apache.org>

Closes #1926 from minahlee/remove_docker_build and squashes the following commits:

6ea789e [Mina Lee] Publish beam interpreter in maven central repo
3a9b64e [Mina Lee] Remove docker build
2017-01-21 17:10:26 +09:00
Jeff Zhang
9bc4dce988 ZEPPELIN-1918. Fix build with Spark 2.1.0
### What is this PR for?
It's my misunderstanding of `SPARK_VER` in travis. It is only used for downloading spark distribution. We need to specify spark profile explicitly for building with specific version of spark. This PR add new profile for spark 2.1 and fix the build issue with spark 2.1.0 because `SecurityManager` changes its constructor signature in spark 2.1

### What type of PR is it?
[Bug Fix ]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-1918

### How should this be tested?
Build with spark 2.1.0 and tested it manually as below screenshot.

### Screenshots (if appropriate)
![image](https://cloud.githubusercontent.com/assets/164491/21797414/d586aa04-d749-11e6-8c6f-3b12e9e2ae2d.png)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes #1880 from zjffdu/ZEPPELIN-1918 and squashes the following commits:

8f87459 [Jeff Zhang] update release script
34772e0 [Jeff Zhang] update build doc for spark 2.1
5efdb11 [Jeff Zhang] fix unit test and address comments
def502f [Jeff Zhang] ZEPPELIN-1918. Fix build with Spark 2.1.0
2017-01-16 09:28:41 -08:00
Mina Lee
f8c11d15f4 [BUILD] Update release script
### What is this PR for?
* Change hadoop profile from `hadoop-2.4` to `hadoop-2.6`
* Use `SCALA_VERSION` variable instead of hardcoding
* Specify projects to be built for netinst package instead of excluding unnecessary projects.

### What type of PR is it?
Build

### What is the Jira issue?

### How should this be tested?
Outline the steps to test the PR here.

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <minalee@apache.org>

Closes #1890 from minahlee/update/release_script and squashes the following commits:

a97b5fe [Mina Lee] Remove one r interpreter profile as only one will take effect
1479d26 [Mina Lee] Use scala variable instead of hardcoding Specify project to build for net-inst package instead of adding exluding projects everytime zeppelin have new interpreter
da9080a [Mina Lee] Update hadoop profile from 2.4 to 2.6
2017-01-16 11:03:36 +09:00
mahmoudelgamal
a8ea9e1a26 [ZEPPELIN-1386] Docker images for running Apache Zeppelin releases
### What is this PR for?

This PR is for making docker images for zeppelin releases. It contains a script for building image for each release. Another script is used for publishing images to zeppelin Dockerhub account.

This repo, https://github.com/mfelgamal/zeppelin-dockers, is a demonstration of this PR. It contains zeppelin-base image and an image for each zeppelin release.
### What type of PR is it?

[Feature]
### Todos
- Review Comments
- Documentation
### What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1386
### How should this be tested?
- run create_release script or publish_release script.
### Screenshots (if appropriate)
### Questions:
- Does the licenses files need update? no
- Is there breaking changes for older versions? no
- Does this needs documentation? yes

Author: mahmoudelgamal <mahmoudf.elgamal@gmail.com>
Author: mfelgamal <mahmoudf.elgamal@gmail.com>
Author: Mahmoud Elgamal <mahmoudf.elgamal@gmail.com>
Author: 1ambda <1amb4a@gmail.com>

Closes #1538 from mfelgamal/zeppelin-dockers and squashes the following commits:

cc8493f [Mahmoud Elgamal] Merge pull request #3 from 1ambda/fix/remove-startzeppelinsh
d48ecef [1ambda] fix: Remove start-zeppelin.sh
b64c680 [mahmoudelgamal] Remove gcc and g++ for decreasing the size
1f093d4 [mahmoudelgamal] Add script start-zeppelin to zeppelin-base
d2c744e [mahmoudelgamal] add scala to zeppelin-base
fd23970 [mahmoudelgamal] remove bash erorr message.
e1d4b77 [mahmoudelgamal] add R and python to zeppelin-base
e731cb4 [mahmoudelgamal] Add java-cacerts to zeppelin-base
e642309 [mahmoudelgamal] Add documentation and some modifications
231a414 [mahmoudelgamal] Add zeppelin-base image
ac06f3a [mahmoudelgamal] Make docker image for zeppelin release
48d0a01 [mfelgamal] Merge pull request #1 from apache/master
2016-12-14 12:59:51 +09:00
Mina Lee
68c43e240b [BUILD] Remove bigquery interpreter from netinst package
### What is this PR for?
Remove bigquery interpreter from netinst package

### What type of PR is it?
Build

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <minalee@apache.org>

Closes #1306 from minahlee/netinst/remove_bigquery and squashes the following commits:

0604840 [Mina Lee] Remove bigquery interpreter from netinst package
2016-08-09 16:13:22 +09:00
Mina Lee
e8860cffab [ZEPPELIN-1256][BUILD] Build distribution package with Spark 2.0 and 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🫙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🫙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🫙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🫙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🫙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🫙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🫙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🫙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🫙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🫙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🫙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🫙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 #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
2016-08-05 14:53:23 +09:00
Mina Lee
4cd61db503 [HOTFIX] update release script
### What is this PR for?
- Add sparkr, r profile to netinst release build
- Exit release_publish.sh in case creating staging repository fails

### What type of PR is it?
Hot Fix

### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?

Author: Mina Lee <minalee@apache.org>

Closes #1098 from minahlee/fix/release_script and squashes the following commits:

bf25d5b [Mina Lee] remove quote to make sed works properly
2fee082 [Mina Lee] Add sparkr, r profile to netinst binary package build
2016-06-27 15:29:41 -07:00
Lee moon soo
4efb39f450 [ZEPPELIN-1046] bin/install-interpreter.sh for netinst package
### What is this PR for?
Implementation of bin/install-interpreter.sh for netinst package which suggested in the [discussion](http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Ask-opinion-regarding-0-6-0-release-package-tp3298p3314.html).

Some usages will be

```
# download all interpreters provided by Apache Zeppelin project
bin/install-interpreter.sh --all

# download an interpreter with name (for example markdown interpreter)
bin/install-interpreter.sh --name md

# download an (3rd party) interpreter with specific maven artifact name
bin/install-interpreter.sh --name md -t org.apache.zeppelin:zeppelin-markdown:0.6.0-SNAPSHOT
```

If it looks fine, i'll continue the work (refactor code, and add test)

### What type of PR is it?
Feature

### Todos
* [x] - working implementation
* [x] - refactor
* [x] - add test

### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. [ZEPPELIN-533]

### How should this be tested?
Outline the steps to test the PR here.

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?

Author: Lee moon soo <moon@apache.org>
Author: AhyoungRyu <fbdkdud93@hanmail.net>

Closes #1042 from Leemoonsoo/netinst and squashes the following commits:

f81d16e [Lee moon soo] address mina's comment
049bc89 [Lee moon soo] Update docs
7307c67 [Lee moon soo] Merge remote-tracking branch 'AhyoungRyu/netinst-docs' into netinst
7e749ad [Lee moon soo] Address mina's comment
0eedd2a [AhyoungRyu] Address @minahlee feedback
13f2d04 [Lee moon soo] generate netinst package
03c664e [AhyoungRyu] Add a new line
5d0a971 [AhyoungRyu] Revert install.md to latest version
13899fb [AhyoungRyu] Reorganize interpreter installation docs
4c1f029 [Lee moon soo] Proxy support
9079580 [Lee moon soo] fix artifact name
1077296 [Lee moon soo] update test
aebca17 [Lee moon soo] Add docs
d547551 [Lee moon soo] Remove test entries
6ee06b8 [Lee moon soo] Make DependencyResolver in zeppelin-interpreter module not aware of ZEPPELIN_HOME
7b1b36a [Lee moon soo] update usage
49f0568 [Lee moon soo] Add conf/interpreter-list
1b558fd [Lee moon soo] update some text
ec7d152 [Lee moon soo] add tip
2c81a3f [Lee moon soo] update
78a7c52 [Lee moon soo] Refactor and add test
47f5706 [Lee moon soo] Install multiple interpreters at once
38e2556 [Lee moon soo] Initial implementation of install-interpreter.sh
2016-06-23 20:58:10 -07:00
Mina Lee
85d70579f5 [ZEPPELIN-986] Create publish release script
### What is this PR for?
This PR is to automate release publish to maven repository.
We used to use maven-deploy-plugin and maven-release-plugin for release but somehow it didn't work well with Zeppelin so 0.5.5 and 0.5.6 haven't been published to maven repository.

Publishing release to maven repository will eventually help zeppelin to reduce binary package size by leading users to use Dynamic interpreter loading(#908).
Originally below modules were skipped for maven release
 - all interpreters(except spark)
 - zeppelin-display
 - zeppelin-server
 - zeppelin-distribution

on the other hand this pr will skip only:
 - zeppelin-distribution

### What type of PR is it?
Infra

### Todos
- [x] Include SparkR/R interpreter in release
- [x] Create common_release.sh to remove build configuration duplication
- [x] Check curl networking failure

### What is the Jira issue?
[ZEPPELIN-986](https://issues.apache.org/jira/browse/ZEPPELIN-986)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? Yes, https://cwiki.apache.org/confluence/display/ZEPPELIN/Preparing+Zeppelin+Release will be updated accordingly once this pr is merged.

Author: Mina Lee <minalee@apache.org>

Closes #994 from minahlee/ZEPPELIN-986 and squashes the following commits:

b0e8e67 [Mina Lee] Revert "Add geode, scalding profile in maven artifact build"
cd4cbcd [Mina Lee] curl failure check
c0ea07c [Mina Lee] Fix wrong indentation
a88bc1d [Mina Lee] Add geode, scalding profile in maven artifact build
2cced61 [Mina Lee] Add r to binary package and maven build
903bc12 [Mina Lee] Move duplicate code to common_release.sh
a3eb676 [Mina Lee] Include zeppelin-server module in publish artifiact
48d338f [Mina Lee] Rollback mistakenly removed plugin
aafaf42 [Mina Lee] Follow google shell  style guide
30dcc65 [Mina Lee] remove deploy plugin from pom since custom script will be used instead for deploy
cd1f08c [Mina Lee] Refactor create release script
e764f5f [Mina Lee] Add maven publish release script
2016-06-22 21:22:07 -07:00
Mina Lee
81adf09f21 [ZEPPELIN-980] Move git repository from incubator-zeppelin to zeppelin
### What is this PR for?
git repo infra have moved from incubator-zeppelin to zeppelin

### What type of PR is it?
Hot Fix

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Mina Lee <minalee@apache.org>

Closes #983 from minahlee/ZEPPELIN-980 and squashes the following commits:

7542c31 [Mina Lee] remove travis url after travis migration is done
3793b38 [Mina Lee] Move git repository from incubator-zeppelin to zeppelin
2016-06-10 09:02:41 -07:00
Lee moon soo
061a55fa46 Change build profile in release script for binary package
### What is this PR for?
Change embedded Spark dependency in binary package for the release from 1.5 to 1.6.

### What type of PR is it?
Improvement

### Todos

### Is there a relevant Jira issue?

### How should this be tested?
build package using dev/create_release.sh and run created package with default configuration. And see output of 'sc.version' if it is based on spark 1.6

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Lee moon soo <moon@apache.org>

Closes #618 from Leemoonsoo/create_release.sh and squashes the following commits:

dc4e2a3 [Lee moon soo] change build profile for binary package release from -Pspark-1.5 to -Pspark-1.6
2016-01-11 22:29:55 +09:00
Lee moon soo
f435f3e46b Apply #407 into master branch
#407 addressed https://issues.apache.org/jira/browse/ZEPPELIN-406 and merged into branch-0.5.5
This PR applies it to the master branch

Author: Lee moon soo <moon@apache.org>

Closes #424 from Leemoonsoo/ZEPPELIN-406-master and squashes the following commits:

64b6550 [Lee moon soo] Add apache header and inline json message example into doc
ba72645 [Lee moon soo] ZEPPELIN-406 Handle license issue found in 0.5.5-incubating rc2
2015-11-13 21:12:36 +09:00
Lee moon soo
a4db1688c9 ZEPPELIN-397 Activate spark-1.5 and hadoop-2.4 by default in release script
https://issues.apache.org/jira/browse/ZEPPELIN-397

Activate spark-1.5 and hadoop-2.4 by default
That'll enable use sc.textFile("s3...") with default configuration without specify SPARK_HOME.

Author: Lee moon soo <moon@apache.org>

This patch had conflicts when merged, resolved by
Committer: Lee moon soo <moon@apache.org>

Closes #397 from Leemoonsoo/ZEPPELIN-397 and squashes the following commits:

9855dde [Lee moon soo] Activate spark-1.5 and hadoop-2.4 by default
2015-11-06 19:25:51 +09:00
Lee moon soo
dfbc0e690c ZEPPELIN-396 Add -Pypspark profile for release binary
https://issues.apache.org/jira/browse/ZEPPELIN-396
Add -Ppyspark to enable pyspark in default configuration (without SPARK_HOME specified).

Author: Lee moon soo <moon@apache.org>

Closes #396 from Leemoonsoo/ZEPPELIN-396 and squashes the following commits:

4e599af [Lee moon soo] Add -Pypspark profile for release binary
2015-11-06 19:20:47 +09:00
Lee moon soo
fff175f925 ZEPPELIN-366 Create a single binary package with default build flags.
This PR addresses https://issues.apache.org/jira/browse/ZEPPELIN-366

This patch creates single binary package instead of multiple binary package with different version of Spark / Hadoop combinations.

Also it's removing redundant directory structure from it's tar archive.

Author: Lee moon soo <moon@apache.org>

Closes #373 from Leemoonsoo/ZEPPELIN-366 and squashes the following commits:

366bbf4 [Lee moon soo] Create a single binary package with default build flags. Remove redundant directory structure in binary package.
2015-10-28 10:36:37 +01:00
Lee moon soo
9465bc725b ZEPPELIN-174 Fix sha checksum in release package
https://issues.apache.org/jira/browse/ZEPPELIN-174

* [x] change suffix to sha512
* [x] change to sha512sum command verifiable format

Author: Lee moon soo <moon@apache.org>

Closes #161 from Leemoonsoo/ZEPPELIN-174 and squashes the following commits:

7ba4577 [Lee moon soo] Create sha512sum command verifiable format checksum
fee7757 [Lee moon soo] sha512 suffix for sha checksum
2015-07-27 11:19:18 +09:00
Lee moon soo
0c1b7455a3 Create a release tool
It'll be nice Zeppelin projects has tool that helps making releases. https://issues.apache.org/jira/browse/ZEPPELIN-130

* [x] Ability to create a source release.
* [x] Ability to create binary releases.

Author: Lee moon soo <moon@apache.org>

Closes #119 from Leemoonsoo/release_tool and squashes the following commits:

4c55022 [Lee moon soo] Make and sign bin packages
0a48cfc [Lee moon soo] create source release
2015-06-30 10:43:19 -07:00