Skip to content

Commit

Permalink
[KYUUBI #6728] [DOC] update Authz plugin docs of build command with `…
Browse files Browse the repository at this point in the history
…-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]>
  • Loading branch information
bowenliang123 committed Oct 16, 2024
1 parent d4b348e commit 4f5799d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/security/authorization/spark/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -53,17 +53,19 @@ 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.

| 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 |

Expand All @@ -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.
Expand Down

0 comments on commit 4f5799d

Please sign in to comment.