This is an automated email from the ASF dual-hosted git repository.
wangbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 450273c [typo]update spark build doc (#8333)
450273c is described below
commit 450273cfc204238af8506c4b4f38907244755467
Author: wangbo <[email protected]>
AuthorDate: Sat Mar 5 12:30:56 2022 +0800
[typo]update spark build doc (#8333)
[typo]update spark build doc (#8333)
---
docs/en/extending-doris/spark-doris-connector.md | 1 +
docs/zh-CN/extending-doris/spark-doris-connector.md | 1 +
2 files changed, 2 insertions(+)
diff --git a/docs/en/extending-doris/spark-doris-connector.md
b/docs/en/extending-doris/spark-doris-connector.md
index 04c9bcc..c5c8703 100644
--- a/docs/en/extending-doris/spark-doris-connector.md
+++ b/docs/en/extending-doris/spark-doris-connector.md
@@ -50,6 +50,7 @@ Execute following command in source dir
sh build.sh 2.3.4 2.11 ## spark 2.3.4 version, and scala 2.11
sh build.sh 3.1.2 2.12 ## spark 3.1.2 version, and scala 2.12
```
+> Note: If you check out the source code from tag, you can just run sh
build.sh --tag without specifying the spark and scala versions. This is because
the version in the tag source code is fixed.
After successful compilation, the file
`doris-spark-2.3.4-2.11-1.0.0-SNAPSHOT.jar` will be generated in the `output/`
directory. Copy this file to `ClassPath` in `Spark` to use
`Spark-Doris-Connector`. For example, `Spark` running in `Local` mode, put this
file in the `jars/` folder. `Spark` running in `Yarn` cluster mode, put this
file in the pre-deployment package.
diff --git a/docs/zh-CN/extending-doris/spark-doris-connector.md
b/docs/zh-CN/extending-doris/spark-doris-connector.md
index 1b4391d..a4304da 100644
--- a/docs/zh-CN/extending-doris/spark-doris-connector.md
+++ b/docs/zh-CN/extending-doris/spark-doris-connector.md
@@ -51,6 +51,7 @@ sh build.sh 2.3.4 2.11 ## spark 2.3.4, scala 2.11
sh build.sh 3.1.2 2.12 ## spark 3.1.2, scala 2.12
```
+> 注:如果你是从 tag 检出的源码,则可以直接执行 `sh build.sh --tag`,而无需指定 spark 和 scala 的版本。因为 tag
源码中的版本是固定的。
编译成功后,会在 `output/` 目录下生成文件 `doris-spark-2.3.4-2.11-1.0.0-SNAPSHOT.jar`。将此文件复制到
`Spark` 的 `ClassPath` 中即可使用 `Spark-Doris-Connector`。例如,`Local` 模式运行的
`Spark`,将此文件放入 `jars/` 文件夹下。`Yarn`集群模式运行的`Spark`,则将此文件放入预部署包中。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]