Skip to content

Commit 5a416e9

Browse files
committed
[KYUUBI #6728] [DOC] update Authz plugin docs of build command with -am option
# 🔍 Description ## Issue References 🔗 This pull request fixes # ## Describe Your Solution 🔧 - as titled - add Spark 3.4 and 3.5 to the supported Spark list ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6728 from bowenliang123/doc-authz-build-am. Closes #6728 f8254bc [Bowen Liang] doc Authored-by: Bowen Liang <[email protected]> Signed-off-by: Bowen Liang <[email protected]> (cherry picked from commit 4f5799d) Signed-off-by: Bowen Liang <[email protected]>
1 parent b209e5a commit 5a416e9

File tree

1 file changed

+7
-5
lines changed
  • docs/security/authorization/spark

1 file changed

+7
-5
lines changed

docs/security/authorization/spark/build.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Kyuubi Spark AuthZ Plugin is built using [Apache Maven](https://maven.apache.org
2323
To build it, `cd` to the root direct of kyuubi project and run:
2424

2525
```shell
26-
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests
26+
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests
2727
```
2828

2929
After a while, if everything goes well, you will get the plugin finally in two parts:
@@ -37,7 +37,7 @@ Apache Kyuubi also provides the shaded jar for the Spark AuthZ plugin, You can r
3737
To build it, `cd` to the root direct of kyuubi project and run:
3838

3939
```shell
40-
build/mvn clean package -pl :kyuubi-spark-authz-shaded_2.12 -DskipTests -am
40+
build/mvn clean package -pl :kyuubi-spark-authz-shaded_2.12 -am -DskipTests
4141
```
4242

4343
After a while, if everything goes well, you will get the plugin finally:
@@ -53,17 +53,19 @@ Sometimes, it may be incompatible with other Spark distributions, then you may n
5353
For example,
5454

5555
```shell
56-
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests -Dspark.version=3.0.2
56+
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests -Pspark-3.4 -Dspark.version=3.4.1
5757
```
5858

5959
The available `spark.version`s are shown in the following table.
6060

6161
| Spark Version | Supported | Remark |
6262
|:-----------------:|:---------:|:----------------------------------------------------------------------------------------------------------------------:|
6363
| master || - |
64+
| 3.5.x || - |
65+
| 3.4.x || - |
6466
| 3.3.x || - |
6567
| 3.2.x || - |
66-
| 3.1.x | | - |
68+
| 3.1.x | x | EOL since v1.10.0 |
6769
| 3.0.x | x | EOL since v1.9.0 |
6870
| 2.4.x and earlier | × | [PR 2367](https://github.com/apache/kyuubi/pull/2367) is used to track how we work with older releases with scala 2.11 |
6971

@@ -76,7 +78,7 @@ By default, it is always built with the latest `ranger.version` defined in kyuub
7678
Sometimes, it may be incompatible with other Ranger Admins, then you may need to build the plugin on your own targeting the Ranger Admin version you connect with.
7779

7880
```shell
79-
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests -Dranger.version=0.7.0
81+
build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests -Dranger.version=2.4.0
8082
```
8183

8284
The available `ranger.version`s are shown in the following table.

0 commit comments

Comments
 (0)