This is an automated email from the ASF dual-hosted git repository.
bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 4f5799d2b2 [KYUUBI #6728] [DOC] update Authz plugin docs of build
command with `-am` option
4f5799d2b2 is described below
commit 4f5799d2b22d6626fb6ccec20b7aaed0987754c6
Author: Bowen Liang <[email protected]>
AuthorDate: Wed Oct 16 13:31:14 2024 +0800
[KYUUBI #6728] [DOC] update Authz plugin docs of build command with `-am`
option
# :mag: 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 :bookmark:
- [ ] 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 :coffin:
#### Behavior With This Pull Request :tada:
#### 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
f8254bc5c [Bowen Liang] doc
Authored-by: Bowen Liang <[email protected]>
Signed-off-by: Bowen Liang <[email protected]>
---
docs/security/authorization/spark/build.md | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/docs/security/authorization/spark/build.md
b/docs/security/authorization/spark/build.md
index f7c239bac5..a707f0ca5d 100644
--- a/docs/security/authorization/spark/build.md
+++ b/docs/security/authorization/spark/build.md
@@ -23,7 +23,7 @@ Kyuubi Spark AuthZ Plugin is built using [Apache
Maven](https://maven.apache.org
To build it, `cd` to the root direct of kyuubi project and run:
```shell
-build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests
+build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests
```
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
To build it, `cd` to the root direct of kyuubi project and run:
```shell
-build/mvn clean package -pl :kyuubi-spark-authz-shaded_2.12 -DskipTests -am
+build/mvn clean package -pl :kyuubi-spark-authz-shaded_2.12 -am -DskipTests
```
After a while, if everything goes well, you will get the plugin finally:
@@ -53,7 +53,7 @@ Sometimes, it may be incompatible with other Spark
distributions, then you may n
For example,
```shell
-build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests
-Dspark.version=3.0.2
+build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests
-Pspark-3.4 -Dspark.version=3.4.1
```
The available `spark.version`s are shown in the following table.
@@ -61,9 +61,11 @@ The available `spark.version`s are shown in the following
table.
| Spark Version | Supported |
Remark |
|:-----------------:|:---------:|:----------------------------------------------------------------------------------------------------------------------:|
| master | โ |
- |
+| 3.5.x | โ |
- |
+| 3.4.x | โ |
- |
| 3.3.x | โ |
- |
| 3.2.x | โ |
- |
-| 3.1.x | โ |
- |
+| 3.1.x | x |
EOL since v1.10.0 |
| 3.0.x | x |
EOL since v1.9.0 |
| 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 |
@@ -76,7 +78,7 @@ By default, it is always built with the latest
`ranger.version` defined in kyuub
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.
```shell
-build/mvn clean package -pl :kyuubi-spark-authz_2.12 -DskipTests
-Dranger.version=0.7.0
+build/mvn clean package -pl :kyuubi-spark-authz_2.12 -am -DskipTests
-Dranger.version=2.4.0
```
The available `ranger.version`s are shown in the following table.