Skip to content

Commit

Permalink
Bump to 0.9 (#3226)
Browse files Browse the repository at this point in the history
* update scala

* update python and doc

* minor
  • Loading branch information
hkvision authored Dec 11, 2020
1 parent 7ed908e commit 6558f27
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<dependency>
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>analytics-zoo-bigdl_0.12.1-spark_2.4.3</artifactId>
<version>0.9.0-SNAPSHOT</version>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>com.intel.analytics.zoo</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<properties>
<spark.version>2.4.3</spark.version>
<bigdl.version>0.12.1</bigdl.version>
<zoo.version>0.9.0-SNAPSHOT</zoo.version>
<zoo.version>0.9.0</zoo.version>
</properties>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>analytics-zoo-bigdl_0.12.1-spark_2.4.3</artifactId>
<version>0.9.0-SNAPSHOT</version>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /opt/work

ARG SPARK_VERSION=2.4.3
ARG BIGDL_VERSION=0.12.1
ARG ANALYTICS_ZOO_VERSION=0.9.0-SNAPSHOT
ARG ANALYTICS_ZOO_VERSION=0.9.0

ENV SPARK_HOME /opt/work/spark-${SPARK_VERSION}
ENV JAVA_HOME /opt/jdk
Expand Down
2 changes: 1 addition & 1 deletion docker/cluster-serving/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /opt/work

ARG SPARK_VERSION=2.4.3
ARG BIGDL_VERSION=0.12.1
ARG ANALYTICS_ZOO_VERSION=0.9.0-SNAPSHOT
ARG ANALYTICS_ZOO_VERSION=0.9.0
ARG FLINK_VERSION=1.10.0

ENV FLINK_HOME /opt/work/flink-${FLINK_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion docker/cluster-serving/download-cluster-serving-all-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.
#
if [ -z "${ANALYTICS_ZOO_VERSION}" ]; then
export ANALYTICS_ZOO_VERSION=0.9.0-SNAPSHOT
export ANALYTICS_ZOO_VERSION=0.9.0
export BIGDL_VERSION=0.12.1
export SPARK_VERSION=2.4.3
echo "You did not specify ANALYTICS_ZOO_VERSION, will download "$ANALYTICS_ZOO_VERSION
Expand Down
2 changes: 1 addition & 1 deletion docker/hyperzoo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:18.04

MAINTAINER The Analytics-Zoo Authors https://github.com/intel-analytics/analytics-zoo

ARG ANALYTICS_ZOO_VERSION=0.9.0-SNAPSHOT
ARG ANALYTICS_ZOO_VERSION=0.9.0
ARG BIGDL_VERSION=0.12.1
ARG SPARK_VERSION=2.4.3
ARG FLINK_VERSION=1.10.0
Expand Down
2 changes: 1 addition & 1 deletion docker/hyperzoo/download-cluster-serving-all-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.
#
if [ -z "${ANALYTICS_ZOO_VERSION}" ]; then
export ANALYTICS_ZOO_VERSION=0.9.0-SNAPSHOT
export ANALYTICS_ZOO_VERSION=0.9.0
export BIGDL_VERSION=0.10.0
export SPARK_VERSION=2.4.3
echo "You did not specify ANALYTICS_ZOO_VERSION, will download "$ANALYTICS_ZOO_VERSION
Expand Down
2 changes: 1 addition & 1 deletion docker/zoo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ MAINTAINER The Analytics-Zoo Authors https://github.com/intel-analytics/analytic

WORKDIR /opt/work

ARG ANALYTICS_ZOO_VERSION=0.9.0-SNAPSHOT
ARG ANALYTICS_ZOO_VERSION=0.9.0
ARG BIGDL_VERSION=0.12.1
ARG SPARK_VERSION=2.4.3
ARG RUNTIME_SPARK_MASTER=local[4]
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/ClusterServingGuide/ProgrammingGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ After preparing dependencies above, make sure the environment variable `$FLINK_H


##### Install Cluster Serving by download release
For users who need to deploy and start Cluster Serving, download Cluster Serving zip `analytics-zoo-xxx-cluster-serving-all.zip` from [here](https://oss.sonatype.org/content/repositories/snapshots/com/intel/analytics/zoo/analytics-zoo-bigdl_0.10.0-spark_2.4.3/0.9.0-SNAPSHOT/) and unzip it, then run `source cluster-serving-setup.sh`.
For users who need to do inference, aka. predict data only, download Analytics Zoo python zip `analytics-zoo-xxx-cluster-serving-python.zip` from [here](https://oss.sonatype.org/content/repositories/snapshots/com/intel/analytics/zoo/analytics-zoo-bigdl_0.10.0-spark_2.4.3/0.9.0-SNAPSHOT/) and run `export PYTHONPATH=$PYTHONPATH:/path/to/zip` to add this zip to `PYTHONPATH` environment variable.
For users who need to deploy and start Cluster Serving, download Cluster Serving zip `analytics-zoo-xxx-cluster-serving-all.zip` from [here](https://oss.sonatype.org/content/repositories/snapshots/com/intel/analytics/zoo/analytics-zoo-bigdl_0.10.0-spark_2.4.3/0.9.0/) and unzip it, then run `source cluster-serving-setup.sh`.
For users who need to do inference, aka. predict data only, download Analytics Zoo python zip `analytics-zoo-xxx-cluster-serving-python.zip` from [here](https://oss.sonatype.org/content/repositories/snapshots/com/intel/analytics/zoo/analytics-zoo-bigdl_0.10.0-spark_2.4.3/0.9.0/) and run `export PYTHONPATH=$PYTHONPATH:/path/to/zip` to add this zip to `PYTHONPATH` environment variable.

##### Install Cluster Serving by pip
Download package from [here](https://sourceforge.net/projects/analytics-zoo/files/cluster-serving-py/), run following command to install Cluster Serving
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/PythonUserGuide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ See [here](#install-from-pip-for-local-usage) for some remarks with regard to pi
You can use the following command to install the latest release version of __analytics-zoo__ via pip easily:

```bash
pip install analytics-zoo
pip install analytics-zoo==0.9.0
```

* You are strongly recommended to use Python 3.6 or 3.7. You might need to run `pip3 install analytics-zoo` instead.
Expand Down
9 changes: 4 additions & 5 deletions docs/docs/ScalaUserGuide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,27 @@
You can download the Analytics Zoo release and nightly build from the [Release Page](../release-download.md)

---
## **Link with a release version**
## **Link with 0.9.0 release**

Currently, Analytics Zoo releases are hosted on maven central; here's an example to add the Analytics Zoo dependency to your own project:
```xml
<dependency>
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>analytics-zoo-bigdl_0.10.0-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3]</artifactId>
<version>${ANALYTICS_ZOO_VERSION}</version>
<artifactId>analytics-zoo-bigdl_0.12.1-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3|spark_3.0.0]</artifactId>
<version>0.9.0</version>
</dependency>
```
You can find the latest ANALYTICS_ZOO_VERSION [here](https://search.maven.org/search?q=analytics-zoo-bigdl).

SBT developers can use
```sbt
libraryDependencies += "com.intel.analytics.zoo" % "analytics-zoo-bigdl_0.10.0-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3]" % "${ANALYTICS_ZOO_VERSION}"
libraryDependencies += "com.intel.analytics.zoo" % "analytics-zoo-bigdl_0.12.1-[spark_2.1.1|spark_2.2.0|spark_2.3.1|spark_2.4.3|spark_3.0.0]" % "0.9.0"
```

Remarks:

- Please choose the available suffix above according to your Spark platform you want to use.
- You don't need to add the BigDL dependency to your project as it has already been packaged within Analytics Zoo.
- You can find the option `${ANALYTICS_ZOO_VERSION}` from the [Release Page](../release-download.md).

---
## **Link with a development version**
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.intel.analytics.zoo</groupId>
<artifactId>zoo-parent</artifactId>
<packaging>pom</packaging>
<version>0.9.0-SNAPSHOT</version>
<version>0.9.0</version>

<name>zoo-parent</name>
<description>A distributed analytics library for Apache Spark.</description>
Expand Down
2 changes: 1 addition & 1 deletion pyzoo/zoo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
for clz in creator_classes:
JavaCreator.add_creator_class(clz)

__version__ = "0.9.0.dev0"
__version__ = "0.9.0"
2 changes: 1 addition & 1 deletion scripts/cluster-serving/download-serving-jar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.
#
if [ -z "${ANALYTICS_ZOO_VERSION}" ]; then
export ANALYTICS_ZOO_VERSION=0.9.0-SNAPSHOT
export ANALYTICS_ZOO_VERSION=0.9.0
export BIGDL_VERSION=0.12.1
export SPARK_VERSION=2.4.3
echo "You did not specify ANALYTICS_ZOO_VERSION, will download "$ANALYTICS_ZOO_VERSION
Expand Down
2 changes: 1 addition & 1 deletion zoo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>zoo-parent</artifactId>
<groupId>com.intel.analytics.zoo</groupId>
<version>0.9.0-SNAPSHOT</version>
<version>0.9.0</version>
</parent>

<artifactId>analytics-zoo-bigdl_${bigdl.version}-spark_${spark.version}</artifactId>
Expand Down

0 comments on commit 6558f27

Please sign in to comment.