From b942185669558a96ebbf6bd714f810a811b32e59 Mon Sep 17 00:00:00 2001 From: Le-Zheng <30695225+Le-Zheng@users.noreply.github.com> Date: Sun, 18 Apr 2021 15:47:21 +0100 Subject: [PATCH] flip version to 0.12.2 (#3119) --- core | 2 +- docker/BigDL/Dockerfile | 2 +- docs/docs/ProgrammingGuide/quantization-support.md | 2 +- docs/docs/ScalaUserGuide/install-pre-built.md | 2 +- pom.xml | 2 +- pyspark/bigdl/models/textclassifier/README.md | 8 ++++---- pyspark/bigdl/version.py | 2 +- scripts/download.sh | 2 +- scripts/run.example.sh | 2 +- spark/dist/pom.xml | 2 +- spark/dl/pom.xml | 6 +++--- spark/dl/src/main/resources/bigdl-version-info.properties | 2 +- spark/pom.xml | 2 +- spark/spark-version/1.5-plus/pom.xml | 2 +- spark/spark-version/2.0/pom.xml | 2 +- spark/spark-version/3.0/pom.xml | 2 +- spark/spark-version/pom.xml | 2 +- 17 files changed, 22 insertions(+), 22 deletions(-) diff --git a/core b/core index 6fba74b50d0..a042e565aa8 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 6fba74b50d0605c660d2185fbaca627b5566090e +Subproject commit a042e565aa8373b1dd0b9622982b4897f9d5186f diff --git a/docker/BigDL/Dockerfile b/docker/BigDL/Dockerfile index 0c5555fab51..5446ceec7dc 100644 --- a/docker/BigDL/Dockerfile +++ b/docker/BigDL/Dockerfile @@ -20,7 +20,7 @@ MAINTAINER The BigDL Authors https://github.com/intel-analytics/BigDL WORKDIR /opt/work -ARG BIGDL_VERSION=0.12.2-SNAPSHOT +ARG BIGDL_VERSION=0.12.2 ARG SPARK_VERSION=2.1.1 ENV BIGDL_VERSION_ENV ${BIGDL_VERSION} ENV SPARK_VERSION_ENV ${SPARK_VERSION} diff --git a/docs/docs/ProgrammingGuide/quantization-support.md b/docs/docs/ProgrammingGuide/quantization-support.md index 73f721db789..f66dd9ecb5b 100644 --- a/docs/docs/ProgrammingGuide/quantization-support.md +++ b/docs/docs/ProgrammingGuide/quantization-support.md @@ -18,7 +18,7 @@ spark jars directory to `SPARK_JAR`. set -x -VERSION=0.12.2-SNAPSHOT +VERSION=0.12.2 BIGDL_HOME=${WORKSPACE}/dist JAR_HOME=${BIGDL_HOME}/lib/target SPARK_JAR=/opt/spark/jars/* diff --git a/docs/docs/ScalaUserGuide/install-pre-built.md b/docs/docs/ScalaUserGuide/install-pre-built.md index c2ef9a6f560..33eecafcfc2 100644 --- a/docs/docs/ScalaUserGuide/install-pre-built.md +++ b/docs/docs/ScalaUserGuide/install-pre-built.md @@ -26,7 +26,7 @@ You can find the optional `${BIGDL_VERSION}` from the [Release Page](../release- Currently, BigDL development version is hosted on [SonaType](https://oss.sonatype.org/content/groups/public/com/intel/analytics/bigdl/). -To link your application with the latest BigDL development version, you should add some dependencies like [Linking with BigDL releases](#link-with-a-release-version), but set `${BIGDL_VERSION}` to `0.12.2-SNAPSHOT`, and add below repository to your pom.xml. +To link your application with the latest BigDL development version, you should add some dependencies like [Linking with BigDL releases](#link-with-a-release-version), but set `${BIGDL_VERSION}` to `0.12.2`, and add below repository to your pom.xml. ```xml diff --git a/pom.xml b/pom.xml index 463d1708aa6..ad575c920ca 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.intel.analytics.bigdl bigdl-parent pom - 0.12.2-SNAPSHOT + 0.12.2 BigDL A distributed deep learning library for Apache Spark. diff --git a/pyspark/bigdl/models/textclassifier/README.md b/pyspark/bigdl/models/textclassifier/README.md index 7f6739dd7fd..eaf7c1601e6 100644 --- a/pyspark/bigdl/models/textclassifier/README.md +++ b/pyspark/bigdl/models/textclassifier/README.md @@ -28,8 +28,8 @@ $ [/tmp/news20]$ tree . -L 1 - The example code would automatically download the data during the first run. ### Run via pip install -- [Install from pip](https://bigdl-project.github.io/0.12.2-SNAPSHOT/#PythonUserGuide/install-from-pip/) -- Optional: check [Run after pip install](https://bigdl-project.github.io/0.12.2-SNAPSHOT/#PythonUserGuide/run-from-pip/) +- [Install from pip](https://bigdl-project.github.io/0.12.2/#PythonUserGuide/install-from-pip/) +- Optional: check [Run after pip install](https://bigdl-project.github.io/0.12.2/#PythonUserGuide/run-from-pip/) - Run the following command locally ``` python ${BigDL_HOME}/pyspark/bigdl/models/textclassifier/textclassifier.py --max_epoch 3 --model cnn @@ -37,8 +37,8 @@ python ${BigDL_HOME}/pyspark/bigdl/models/textclassifier/textclassifier.py --max ``` ### Run via spark-submit -- [Install without pip](https://bigdl-project.github.io/0.12.2-SNAPSHOT/#PythonUserGuide/install-without-pip/) -- Optional: check [Run without pip](https://bigdl-project.github.io/0.12.2-SNAPSHOT/#PythonUserGuide/run-without-pip/) +- [Install without pip](https://bigdl-project.github.io/0.12.2/#PythonUserGuide/install-without-pip/) +- Optional: check [Run without pip](https://bigdl-project.github.io/0.12.2/#PythonUserGuide/run-without-pip/) - Run the following command ```{r, engine='sh'} PYTHONHASHSEED=0 diff --git a/pyspark/bigdl/version.py b/pyspark/bigdl/version.py index 3f5a6079d28..4046404ca1c 100644 --- a/pyspark/bigdl/version.py +++ b/pyspark/bigdl/version.py @@ -14,4 +14,4 @@ # limitations under the License. # -__version__ = "0.12.2.dev1" +__version__ = "0.12.2" diff --git a/scripts/download.sh b/scripts/download.sh index a73b4420258..798f2dede86 100644 --- a/scripts/download.sh +++ b/scripts/download.sh @@ -23,7 +23,7 @@ HDFS_HOST=$1 set -e -BIGDL_VERSION=0.12.2-SNAPSHOT +BIGDL_VERSION=0.12.2 if [ -d "images" ] then diff --git a/scripts/run.example.sh b/scripts/run.example.sh index 13b40d92740..6e4be9a3f15 100644 --- a/scripts/run.example.sh +++ b/scripts/run.example.sh @@ -16,7 +16,7 @@ # limitations under the License. # -BIGDL_VERSION=0.12.2-SNAPSHOT +BIGDL_VERSION=0.12.2 SPARK1_DIR=spark-1.6.3-bin-hadoop2.6 SPARK1_LINK=https://www.apache.org/dist/spark/spark-1.6.3/$SPARK1_DIR.tgz diff --git a/spark/dist/pom.xml b/spark/dist/pom.xml index 05e116b4ee8..e6eb9d19ac8 100644 --- a/spark/dist/pom.xml +++ b/spark/dist/pom.xml @@ -5,7 +5,7 @@ spark_bigdl com.intel.analytics.bigdl - 0.12.2-SNAPSHOT + 0.12.2 4.0.0 diff --git a/spark/dl/pom.xml b/spark/dl/pom.xml index 40bd3331cb8..ddbb7e3a503 100644 --- a/spark/dl/pom.xml +++ b/spark/dl/pom.xml @@ -5,7 +5,7 @@ spark_bigdl com.intel.analytics.bigdl - 0.12.2-SNAPSHOT + 0.12.2 4.0.0 @@ -79,7 +79,7 @@ com.intel.analytics.bigdl.core.dist all - 0.12.2-SNAPSHOT + 0.12.2 ${bigdl-core-all-scope} @@ -319,7 +319,7 @@ com.intel.analytics.bigdl.core.dist ${os-flag} - 0.12.2-SNAPSHOT + 0.12.2 pom diff --git a/spark/dl/src/main/resources/bigdl-version-info.properties b/spark/dl/src/main/resources/bigdl-version-info.properties index 201ce1a0192..abae6027a6a 100644 --- a/spark/dl/src/main/resources/bigdl-version-info.properties +++ b/spark/dl/src/main/resources/bigdl-version-info.properties @@ -16,4 +16,4 @@ #BigDL version info config -version=0.12.2-SNAPSHOT \ No newline at end of file +version=0.12.2 \ No newline at end of file diff --git a/spark/pom.xml b/spark/pom.xml index da1b53a9c1a..e352d5a945f 100644 --- a/spark/pom.xml +++ b/spark/pom.xml @@ -5,7 +5,7 @@ bigdl-parent com.intel.analytics.bigdl - 0.12.2-SNAPSHOT + 0.12.2 4.0.0 diff --git a/spark/spark-version/1.5-plus/pom.xml b/spark/spark-version/1.5-plus/pom.xml index 7bc9b13e65f..02c6b8bc2e2 100644 --- a/spark/spark-version/1.5-plus/pom.xml +++ b/spark/spark-version/1.5-plus/pom.xml @@ -5,7 +5,7 @@ spark-version com.intel.analytics.bigdl - 0.12.2-SNAPSHOT + 0.12.2 4.0.0 diff --git a/spark/spark-version/2.0/pom.xml b/spark/spark-version/2.0/pom.xml index a461293b37a..4dd8600de75 100644 --- a/spark/spark-version/2.0/pom.xml +++ b/spark/spark-version/2.0/pom.xml @@ -5,7 +5,7 @@ spark-version com.intel.analytics.bigdl - 0.12.2-SNAPSHOT + 0.12.2 4.0.0 diff --git a/spark/spark-version/3.0/pom.xml b/spark/spark-version/3.0/pom.xml index f71ff5008db..e8f91eb390c 100644 --- a/spark/spark-version/3.0/pom.xml +++ b/spark/spark-version/3.0/pom.xml @@ -5,7 +5,7 @@ spark-version com.intel.analytics.bigdl - 0.12.2-SNAPSHOT + 0.12.2 4.0.0 diff --git a/spark/spark-version/pom.xml b/spark/spark-version/pom.xml index b9bf5363dc7..d91ba1e0235 100644 --- a/spark/spark-version/pom.xml +++ b/spark/spark-version/pom.xml @@ -5,7 +5,7 @@ spark_bigdl com.intel.analytics.bigdl - 0.12.2-SNAPSHOT + 0.12.2 4.0.0