Skip to content
Permalink
Browse files
improve doc spark3.2.0 (#9445)
  • Loading branch information
cxzl25 committed May 7, 2022
1 parent 1746f61 commit 68fae88b3617533de2a04c3ba978d708148d033d
Showing 2 changed files with 10 additions and 5 deletions.
@@ -41,6 +41,7 @@ Github: https://github.com/apache/incubator-doris-spark-connector
|---------------| ----- | ------ | ---- | ----- |
| 2.3.4-2.11.xx | 2.x | 0.12+ | 8 | 2.11 |
| 3.1.2-2.12.xx | 3.x | 0.12.+ | 8 | 2.12 |
| 3.2.0-2.12.xx | 3.2.x | 0.12.+ | 8 | 2.12 |

## Build and Install

@@ -91,8 +92,10 @@ Linux:
Execute following command in source dir

```bash
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
sh build.sh --spark 2.3.4 --scala 2.11 ## spark 2.3.4, scala 2.11
sh build.sh --spark 3.1.2 --scala 2.12 ## spark 3.1.2, scala 2.12
sh build.sh --spark 3.2.0 --scala 2.12 \
--mvn-args "-Dnetty.version=4.1.68.Final -Dfasterxml.jackson.version=2.12.3" ## spark 3.2.0, 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.
@@ -41,6 +41,7 @@ Spark Doris Connector 可以支持通过 Spark 读取 Doris 中存储的数据
|---------------| ----- | ------ | ---- | ----- |
| 2.3.4-2.11.xx | 2.x | 0.12+ | 8 | 2.11 |
| 3.1.2-2.12.xx | 3.x | 0.12.+ | 8 | 2.12 |
| 3.2.0-2.12.xx | 3.2.x | 0.12.+ | 8 | 2.12 |

## 编译与安装

@@ -92,9 +93,10 @@ export THRIFT_BIN=/opt/homebrew/Cellar/thrift@0.13.0/0.13.0/bin/thrift
在源码目录下执行:

```bash
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
sh build.sh --spark 2.3.4 --scala 2.11 ## spark 2.3.4, scala 2.11
sh build.sh --spark 3.1.2 --scala 2.12 ## spark 3.1.2, scala 2.12
sh build.sh --spark 3.2.0 --scala 2.12 \
--mvn-args "-Dnetty.version=4.1.68.Final -Dfasterxml.jackson.version=2.12.3" ## spark 3.2.0, scala 2.12
```
> 注:如果你是从 tag 检出的源码,则可以直接执行 `sh build.sh --tag`,而无需指定 spark 和 scala 的版本。因为 tag 源码中的版本是固定的。

0 comments on commit 68fae88

Please sign in to comment.